[Bug 449356] Refactor gfxPangoFontGroup for user fonts

bugzilla-daemon at mozilla.org bugzilla-daemon at mozilla.org
Tue Sep 30 03:53:00 UTC 2008


Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=449356





--- Comment #4 from Karl Tomlinson (:karlt) <mozbugz at karlt.net>  2008-09-29 20:52:56 PDT ---
Created an attachment (id=341049)
 --> (https://bugzilla.mozilla.org/attachment.cgi?id=341049)
font selection in Mozilla WIP 0.1.2

This is a basic implementation of a Mozilla-specific PangoFcFontMap, that
makes it possible for us to do our own font selection.

It doesn't make any attempt cache information to optimize speed.  With this
patch, memory use (Tp RSS) drops from 108 to 82 MB (1:0.76), but the cost is
an increase in page load time (Tp) from 440 to 638 ms (0.69:1).  This shows the
potential for memory savings by choosing what to cache carefully.

Roughly 7 MB of the 26 MB memory savings come from removal of the
gfxPangoFontCache (bug 428425 comment 5).

-- 
Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the fonts-bugs mailing list