[Fontconfig] Locale based fontconfig matching

Akira TAGOH akira at tagoh.org
Wed Sep 26 22:07:47 PDT 2012


Well, since 2.10.0, fontconfig adds $FC_LANG, $LC_ALL, $LC_CTYPE or
$LANG (if any) to the FcPattern before trying to match a pattern. i.e.
'lang' more or less contains any of them. so it should choose the
proper fonts even if one didn't add a 'lang' into FcPattern now. and
particularly 'lang' testing would effectively works.

Jiang, I don't know if you have tried it yet, if you have any
difficulties, please let me know.

On Thu, Sep 27, 2012 at 6:21 AM, Behdad Esfahbod <behdad at behdad.org> wrote:
> Hi Jiang,
>
> I came across this very old message of your...  Which reminded me that Akira
> has been working on something like this.  Akira, would you mind summarizing
> what new fontconfig does?
>
> Thanks,
> behdad
>
> On 01/26/2012 08:02 AM, Jjgod Jiang wrote:
>> Hi Behdad,
>>
>> How is it going?
>>
>> Recently I have been trying to implement locale based font matching in
>> Qt with a purpose quite similar to your proposal at
>> http://lists.freedesktop.org/archives/fontconfig/2008-January/002832.html,
>> which seems to be a rather simple and elegant solution, I wonder if it
>> has ever been put into implementation. If not, do you have the
>> interest to bring it up again?
>>
>> - Jiang
>>



-- 
Akira TAGOH


More information about the Fontconfig mailing list