Summary: | cairo use of 0x0 images causes backend failure | ||
---|---|---|---|
Product: | cairo | Reporter: | tor |
Component: | win32 backend | Assignee: | Owen Taylor <otaylor> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | high | CC: | jwatt |
Version: | 1.0.0 | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | don't try creating 0x0 images, similar to cworth's xlib fix |
Description
tor
2005-09-26 16:09:34 UTC
Created attachment 3411 [details] [review] don't try creating 0x0 images, similar to cworth's xlib fix The fix looks fine to me. There might be some higher-layer place to catch this, but when I looked at fixing the similar xlib bug at higher layers it turned out to be much harder that just this style of fix. Why don't you go ahead and commit this to HEAD and BRANCH_1_0. 2005-09-27 T Rowley <tim.rowley@gmail.com> * ROADMAP: Note that Bug #4602 (use of 0x0 images causes win32 backend failure) is now fixed. * src/cairo-win32-surface.c (_create_dc_and_bitmap): Avoid creating size-0 bitmap, which fails. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.