Bug 81185 - FcConfigSubstitute() sets FC_LANG which is sometimes undesirable
Summary: FcConfigSubstitute() sets FC_LANG which is sometimes undesirable
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Akira TAGOH
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-10 17:42 UTC by Behdad Esfahbod
Modified: 2015-03-02 02:36 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Behdad Esfahbod 2014-07-10 17:42:52 UTC
See my analysis here:

  https://code.google.com/p/chromium/issues/detail?id=392724

I suggest that we check FC_LANG first, if it has the language "und" (BCP 47 for "undetermined"), then do NOT add locale languages to FC_LANG.
Comment 1 Akira TAGOH 2015-02-09 07:13:48 UTC
that sounds good to me. let me work on it.
Comment 2 Akira TAGOH 2015-02-09 07:48:10 UTC
http://cgit.freedesktop.org/~tagoh/fontconfig/log/?h=bz81185

please test.
Comment 3 Behdad Esfahbod 2015-02-28 02:26:59 UTC
lgtm.  Thanks.
Comment 4 Akira TAGOH 2015-03-02 02:36:34 UTC
merged. thanks!


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.