documentation-packages team mailing list archive
Mailing list archive
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has
been closed from further activity.
You can subscribe and participate further through the new bug through
this link to our GitLab instance:
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ttf-wqy-zenhei in Ubuntu.
WenQuanYi Zen Hei is prioritised above Japanese fonts for Japanese
Status in Fontconfig:
Status in Ubuntu Translations:
Status in ttf-wqy-zenhei package in Ubuntu:
Binary package hint: ttf-wqy-zenhei
(I hope I've picked the right place to start with reporting this bug.
I find fontconfig and CJK font selection issues in general quite
In Karmic, running firefox seems to pick a non-Japanese font for displaying Japanese web pages. (You can tell because the preferred character styles are somewhat different.) This used to work in Jaunty, but Karmic makes a worse font choice.
[Details: I have LANG=en_GB.UTF-8 but also PANGO_LANGUAGE=en;ja to tell Pango to guess Japanese if it has to guess. I'll attach the result of running a firefox with FC_DEBUG=1 and looking at a sample page with problems; you can see it asking for a font with 'lang: "ja"' and getting back "WenQuanYi Zen Hei", so I don't think firefox is at fault here.]
This seems to be because if we ask fontconfig for a "Sans" font for
Japanese text it gives back the ttf-wqy-zenhei one instead:
$ fc-match Sans:lang=ja
wqy-zenhei.ttc: "WenQuanYi Zen Hei" "中等"
I do have Japanese fonts installed:
$ fc-list :lang=ja
WenQuanYi Zen Hei Mono,文泉驛等寬正黑,文泉驿等宽正黑:style=Medium,中等
WenQuanYi Zen Hei,文泉驛正黑,文泉驿正黑:style=Medium,中等
VL PGothic,VL Pゴシック:style=regular
VL Gothic,VL ゴシック:style=regular
(and if you don't ask for a Sans font you get back one of those:
$ fc-match :lang=ja
ttf-japanese-gothic.ttf: "VL Gothic" "regular"
I think that if the application is asking for a font to display
Japanese text in, then all Japanese fonts should be prioritised above
any of the other CJK fonts...
Date: Fri Feb 12 20:02:59 2010
DistroRelease: Ubuntu 9.10
Package: ttf-wqy-zenhei 0.8.38-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
Uname: Linux 2.6.31-17-generic i686
To manage notifications about this bug go to: