Bug 18846 - Add FcLangSetGetStrSet()
Summary: Add FcLangSetGetStrSet()
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.4
Hardware: Other All
: medium normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 03:15 UTC by Behdad Esfahbod
Modified: 2009-06-24 12:35 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.