Re: Asking FontConfig for a font that supports a script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/28/11 17:37, Sairus Patel wrote:
>> >If you
>> >check that file, you see that indeed FC_CHARSET is matched.  But it's up to
>> >you to populate the charset for different scripts.
> By this you mean the software would call FcFreeTypeCharSet and associate it with each font on the system? I think this would not be efficient enough for our needs. A mechanism whereby the operator of the FontConfig setup on that device would associate particular fonts with particular scripts in the config files, just as happens for associating fonts with generic family names like serif or sans-serif, would be more desirable.

Fontconfig has done that when creating caches, so the font charset is sitting
in a cache file.  It's not hugely expensive, specially given that you should
cache the result per-script, so this happens once per script at most.

behdad
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux