[cairo-bugs] [Bug 13612] Size 0 fonts result in error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 27 14:53:31 PST 2008


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


Behdad Esfahbod <freedesktop at behdad.org> changed:

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




--- Comment #1 from Behdad Esfahbod <freedesktop at behdad.org>  2008-01-27 14:53:27 PST ---
Fixed now:

commit 5dfe47a3f14ee8597395dc53ff57fd429e9804cd
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Fri Jan 25 00:35:11 2008 -0500

    [cairo-scaled-font] Unbreak it after my recent commit

    Sigh.

commit efd3a965244305a069ec231b7ec28cff8d6c67c8
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Jan 24 23:35:06 2008 -0500

    [cairo-scaled-font] Don't err on font size 0, really

    First, seems like we were rejecting degenerate font matrix right away
    at the constructor.  Don't do that.

    Next, PS/PDF were inverting the font scale matrix, assuming that it's
    invertible.  We now keep the inverse too, so they can use it.  For the
    case of a size 0 font, both the scale matrix and its invert are set to
    0,0,0,0.  That's safe, even if slightly inconsistent.

commit 45f269e33020d8d7cf247926712b9c64c1fb8959
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Jan 24 22:39:28 2008 -0500

    [cairo-scaled-font] Oops, return err if not handling it

commit 6d0dc3e0760e6bc6b0eceab48674410b4e865287
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Jan 24 22:24:23 2008 -0500

    [cairo-scaled-font] Don't err on font size 0


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


More information about the cairo-bugs mailing list