[Fontconfig] commit: drastic fontconfig speedups
Keith Packard
keithp at keithp.com
Sun Nov 27 20:04:41 PST 2005
On Sun, 2005-11-27 at 20:48 -0500, Patrick Lam wrote:
> Hi all,
>
> The folks at SuSE have been profiling and contributing a number of
> performance patches for fontconfig, which I've all reviewed and
> committed. The most recent one is for FcFontSetMatch, which they report
> gives a 3.5x speedup in fontconfig; that patch rewrote the algorithm by
> inlining FcCompare and swapping the order of the loops, blocking fonts
> that were ineligible for being the best font.
I think most applications should use FcFontSetList instead so that they
receive the set of fonts necessary to render arbitrary characters,
instead of a single font with limited Unicode coverage. I know that
Pango and Mozilla both use the listing function exclusively; I'm not
sure how to improve the performance of this function though.
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051127/4f99b2fd/attachment.pgp
More information about the Fontconfig
mailing list