[cairo-bugs] [Bug 20255] cairo_scaled_font_glyph_extents breaks with invalid glyph id

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 24 08:23:27 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=20255





--- Comment #4 from Elmar Braun <elmar.braun at sh-p.de>  2009-05-24 08:23:26 PST ---
Created an attachment (id=26171)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=26171)
Alternate patch

An alternate solution that leaves some of the error checking in place is this:
check GetLastError after GetGlyphOutlineW, because it returns a success if
GDI_ERROR was caused by an invalid glyph id.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the cairo-bugs mailing list