Bug 683697 - strange lang in fc-match
Summary: strange lang in fc-match
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: un-core-fonts
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daiki Ueno
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-10 03:56 UTC by sangu
Modified: 2011-03-22 01:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-22 01:39:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.