Bug 683697

Summary: strange lang in fc-match
Product: [Fedora] Fedora Reporter: sangu <sangu.fedora>
Component: un-core-fontsAssignee: Daiki Ueno <dueno>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: dueno, fonts-bugs, i18n-bugs, petersen, smallvil
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-22 01:39:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description sangu 2011-03-10 03:56:14 UTC
Description of problem:
LANG=ko_KR.UTF-8
$ fc-match
wqy-zenhei.ttc: "WenQuanYi Zen Hei" "Regular"

$ fc-match sans
wqy-zenhei.ttc: "WenQuanYi Zen Hei" "Regular"

$ fc-match serif
wqy-zenhei.ttc: "WenQuanYi Zen Hei" "Regular"

$ fc-match monospace
UnDotum.ttf: "UnDotum" "Regular"

Remove wgy-zenhei-fonts
# rpm -e wqy-zenhei-fonts

$ fc-match sans
UnDotum.ttf: "UnDotum" "Regular"
$ fc-match serif
UnDotum.ttf: "UnDotum" "Regular"
$ fc-match monospace
UnDotum.ttf: "UnDotum" "Regular"

Version-Release number of selected component (if applicable):
1.0.2-0.16.080608.fc15

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:
in ko_KR.UTF-8
Default Korean font is un-dotum

Expected results:


Additional info:
wqy-zenhei-fonts        0.9.46-2.fc15

Comment 1 Daiki Ueno 2011-03-10 05:58:10 UTC
Do you have any serious issue with this?  fc-match returns the expected value if you supply lang tag like:

$ fc-match sans:lang=ko

and

$ fc-match sans:lang=ko-kr

Though fc-match doesn't add lang tag from LANG envvar, practical applications do and thus it should not be a problem.

Comment 2 Daiki Ueno 2011-03-22 01:39:26 UTC
Closing for now.  If you find a real problem, please reopen.