[Fontconfig] Matching font by unicode coverage
mrsam at courier-mta.com
Mon Jan 19 18:49:18 PST 2015
Behdad Esfahbod writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> > Does matching by FC_CHARSET really add that much overhead?
> It does, but that's not the point. The difference is that of only calling
> FcFontSort once and using the results, or calling FcFontMatch for, in the
> worst case, every character.
> YMMV, don't come back saying that I didn't warn you :).
Oh, I don't think that's the intent here. The general idea is to put all
characters either in the entire text, or just the ones with the same unicode
scripts property into a FC_CHARSET, then matching some fonts, and using them
as far as they can take me, then try again.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Fontconfig