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 <https://github.com/ldo/python_fontconfig/>, 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 > https://lists.freedesktop.org/mailman/listinfo/fontconfig -- Akira TAGOH _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig