Bug 18847 - Allow FcPatternGetString on FcLangSet items?
Summary: Allow FcPatternGetString on FcLangSet items?
Status: RESOLVED WONTFIX
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:18 UTC by Behdad Esfahbod
Modified: 2008-12-28 15:53 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.