Re: Making family names returned by FcFreeTypeQueryFace locale aware?

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

 



On 01/05/11 11:44, Jjgod Jiang wrote:
> On Wed, Jan 5, 2011 at 5:12 PM, Behdad Esfahbod <behdad@xxxxxxxxxx> 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)?

As far as I understand, you want to be able to know what language a given
family name belongs to?  familylang tells you that.  From there on it's up to
your matching algorithm to do whatever it wants.

Begs the question: why do you not use fontconfig's matching facility?

behdad

> - Jiang
> 
_______________________________________________
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