Re: Wrong Documented Type For FC_LANG?

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

 



On Wed, May 29, 2019 at 2:42 PM Lawrence D'Oliveiro
<ldo@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, 29 May 2019 13:54:22 +0900, Akira TAGOH wrote:
>
> > Right. you could use FcLangSet for FC_LANG of course. but it isn't
> > handy. so fontconfig allows you to operate FC_LANG with String and it
> > is a de facto standard method.
>
> I was originally trying that--using FcPatternGetString to get the
> property value--but it was returning a FcResultTypeMismatch status.
> Only FcPatternGetLangSet works.

That's correct. and you are referring the wrong document for your
purpose. that is for font configuration which users usually do
something with the config file. what you should look at is devel doc
and that says:

    lang           FC_LANG                LangSet Set of RFC-3066-style
                                                  languages this font supports

which is exactly what you want.

Hope that helps,

> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://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