Bug 18847

Summary: Allow FcPatternGetString on FcLangSet items?
Product: fontconfig Reporter: Behdad Esfahbod <freedesktop>
Component: libraryAssignee: Keith Packard <keithp>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium CC: richard
Version: 2.4   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Behdad Esfahbod 2008-12-02 03:18:06 UTC
Currently FcNameParse() uses a LangSet for FC_LANG.  So trying to get the lang elements as string fails.  It tricked hughsie and I for quite some time today as we normally think of languages as strings.  It would be convenient to allow getting them out as strings too.
Comment 1 Behdad Esfahbod 2008-12-28 15:53:15 UTC
This, while possible, will make the code very ugly.  Lets forget about it for now.  It would have been a convenience anyway.

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.