[Fontconfig] Making family names returned by FcFreeTypeQueryFace locale aware?

Jjgod Jiang gzjjgod at gmail.com
Wed Jan 5 08:44:05 PST 2011


On Wed, Jan 5, 2011 at 5:12 PM, Behdad Esfahbod <behdad at behdad.org> wrote:
> On 12/28/10 09:56, Jjgod Jiang wrote:
>> I have no problem with this, all I'm asking is the *order* of family
>> names returned by fontconfig to be consistent in all occasions. If in
>> one case (FcFontList) it's sorted with locale while in another case
>> (FcFreeTypeQueryFace) it's not, then third party libraries like Qt will
>> have difficulty implementing its own font matching mechanism based on
>> fontconfig.
>
> You can check familylang.

Can you explain a bit more about how that's going to work (for the patterns
returned by FcFreeTypeQueryFace)?

- Jiang


More information about the Fontconfig mailing list