Currently one can't iterate a FcLangSet. This is very unfortunate as FcNameParse sets FC_LANG as a FcLangSet. One can't iterate over it to see which languages are set in the pattern. Getting a StrSet out of it would help. Note that FcGetLangs() returns a StrSet pretty much for the same reason I guess. Though in hindsight, it should have been made to return LangSet and this LangSetGetStrSet implemented or so.
In my tree: Commit 69a351fa138fe7e71e29316698b0ca4ce532631d Author: Behdad Esfahbod <behdad@behdad.org> Date: Fri Feb 13 16:30:43 2009 -0800 [fclang] Implement FcLangSetGetLangs() (#18846)
I believe I've fixed this in 2.7.0. Please reopen otherwise.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.