Re: Making family names returned by FcFreeTypeQueryFace locale aware?

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

 



Hi,

Never mind, I managed to get that with FcDefaultSubstitute(). Thanks
for the tip!

On Wed, Jan 5, 2011 at 7:18 PM, Jjgod Jiang <gzjjgod@xxxxxxxxx> wrote:
> On Wed, Jan 5, 2011 at 6:10 PM, Behdad Esfahbod <behdad@xxxxxxxxxx> wrote:
>> 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.
>
> As I said in my first email, when adding application fonts, the family names
> returned by FcFreeTypeQueryFace is *NOT* sorted by locale, thus, I need to
> find out which name is for the current locale myself. I can test each one
> with their familylang, but how do I know the system familylang?
>
> To be specific, what I need is FcGetDefaultLang() to be exported.
>
>> Begs the question: why do you not use fontconfig's matching facility?
>
> Because Qt has to build its own cross-platform font database, it's not
> just about matching, it's also about providing the users an unified
> font list.
>
> - 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