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 11:04 AM Lawrence D'Oliveiro
<ldo@xxxxxxxxxxxxxxxxxxx> wrote:
> In fontconfig.h, the “lang” property is listed as follows:
>     #define FC_LANG                 "lang"              /* String RFC 3066 langs */
> this would seem to indicate that the value is supposed to be a
> string. I just discovered, in running a test with my python_fontconfig
> binding <>, that in fact this
> property value is an FcLangSet.

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.

> Does this apply to the other properties with “lang” in their name as
> well?

No. that is only for FC_LANG.

> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx

Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux