Bug 18846

Summary: Add FcLangSetGetStrSet()
Product: fontconfig Reporter: Behdad Esfahbod <freedesktop>
Component: libraryAssignee: Keith Packard <keithp>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: bugs.freedesktop, freedesktop, richard
Version: 2.4   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Behdad Esfahbod 2008-12-02 03:15:37 UTC
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.
Comment 1 Behdad Esfahbod 2009-02-13 16:33:50 UTC
In my tree:

Commit 69a351fa138fe7e71e29316698b0ca4ce532631d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Feb 13 16:30:43 2009 -0800

    [fclang] Implement FcLangSetGetLangs() (#18846)

Comment 2 Behdad Esfahbod 2009-06-24 12:35:36 UTC
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.