Bug 81185

Summary: FcConfigSubstitute() sets FC_LANG which is sometimes undesirable
Product: fontconfig Reporter: Behdad Esfahbod <freedesktop>
Component: libraryAssignee: Akira TAGOH <akira>
Status: RESOLVED FIXED QA Contact: Behdad Esfahbod <freedesktop>
Severity: normal    
Priority: medium CC: akira, fontconfig-bugs, freedesktop
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.