[Poppler-bugs] [Bug 9846] Ignore glyph-not-found kind of errors

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 17 18:11:52 PDT 2007


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


freedesktop at behdad.org changed:

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




------- Comment #9 from freedesktop at behdad.org  2007-09-17 18:12 PST -------
commit 79d975f84bcc32e91db517d71a7312e2e1d653d4
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Sep 12 17:45:11 2007 -0400

    [cairo-ft-font] Ignore FT_Load_Glyph errors other than out-of-memory
    Same for FT_Render_Glyph.

    When the user asks us to render a glyph that is not available in the font,
    it's mostly an unavoidable kind of error for them, as in, they can't
    avoid such a call.  So it's not nice to put cairo_t in an error state and
    refuse any further drawying.

    Many PDF files are created using buggy software and cause such
glpyh-not-found
    errors for CID 0 for example.

    Eventually we should propagate these kind of errors up and return it from
    the function call causing it, but that needs API change to add return value
    to all text functions, so for now we just ignore these errors.


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


More information about the Poppler-bugs mailing list