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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 10 05:06:01 PDT 2009


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


Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk>  2009-06-10 05:05:58 PST ---
Thank you Elmar for your diagnosis of this bug, and your timely reminder on
cairo at .

commit 610da573e91810c53305b6bfe02eb7b714e3d08e
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Jun 10 12:59:36 2009 +0100

    [win32-font] Non-fatal error from GetGlyphOutlineW(GGO_METRICS)

    If GetGlyphOutlineW(GGO_METRICS) fails to retreive the metrics for the
    specified glyph it returns GDI_ERROR. Like ft, do not interpret this as a
    fatal error but just mark the glyph as empty.

    Fixes http://bugs.freedesktop.org/show_bug.cgi?id=20255
    Bug 20255 -- cairo_scaled_font_glyph_extents breaks with invalid glyph id

And cherry-picked into 1.8.


-- 
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