Bug 1340767

Summary: [RFE] Please consider to use PANGO_LANGUAGE for GNOME Desktop in fonts-tweak-tool
Product: [Fedora] Fedora Reporter: Peng Wu <pwu>
Component: fonts-tweak-toolAssignee: Akira TAGOH <tagoh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: i18n-bugs, kent.neo, petersen, pwu, tagoh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-01 04:53:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Chinese locale, without ~/.i18n
none
English locale, with "export FC_LANG=zh_CN" in ~/.i18n
none
English locale, with "export PANGO_LANGUAGE=zh_CN" in ~/.i18n none

Description Peng Wu 2016-05-30 09:19:11 UTC
Recently some Chinese user reports that they use English locale by default,
But still want to use Chinese when reading/writing.

For GNOME 3.x, when use FC_LANG=zh_CN in ~/.i18n, the English character
becomes slightly bolder.
With PANGO_LANGUAGE=zh_CN in ~/.i18n, the English character is the same.

Please evaluate it, thanks!

Comment 1 Akira TAGOH 2016-05-31 04:00:50 UTC
Screenshot or the steps to reproduce, please?

Comment 2 Peng Wu 2016-05-31 07:40:11 UTC
Created attachment 1163062 [details]
Chinese locale, without ~/.i18n

Comment 3 Peng Wu 2016-05-31 07:41:31 UTC
Created attachment 1163063 [details]
English locale, with "export FC_LANG=zh_CN" in ~/.i18n

Comment 4 Peng Wu 2016-05-31 07:42:26 UTC
Created attachment 1163064 [details]
English locale, with "export PANGO_LANGUAGE=zh_CN" in ~/.i18n

Comment 5 Peng Wu 2016-05-31 07:44:18 UTC
Sure, screenshots uploaded.

Comment 6 Akira TAGOH 2016-05-31 09:23:57 UTC
Thanks. hmm, does FC_LANG=en:zh_CN give you the same result?

Comment 7 Peng Wu 2016-05-31 10:28:48 UTC
Yes, it looks similar.

Comment 8 Akira TAGOH 2016-05-31 10:38:59 UTC
Then I'd suggest to add English prior to Chinese on fonts-tweak-tool. that should works unless applications uses rich rendering libraries like pango and Qt which supports the sort of the font sets.
this is because pango takes care of ascii characters separately and requests an English font unless you explicitly override that behavior in the font configuration.

Comment 9 Peng Wu 2016-06-01 04:47:29 UTC
Thanks, it is a good solution for Chinese locale by adding English first.

Comment 10 Akira TAGOH 2016-06-01 04:53:10 UTC
Okay, I'll close this then. thanks.