Red Hat Bugzilla – Bug 155429
Both chinese in anaconda does not have correct fonts
Last modified: 2007-11-30 17:11:04 EST
Description of problem:
Both chinese in anaconda does not have correct fonts. It seems that some of the
glyphs are coming from japanese font.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. Use simplified or traditional chinese
Created attachment 113398 [details]
OK, so either the translations are wrong, as these look like what's in the po
file, or the actual font is wrong. I have no idea what to do about either of
those, but I suspect you do. Thoughts?
I'm guessing the font is missing. Look in /usr/share/fonts (in stage2.img) and
see if the chinese fonts are there. It's entirely possible with the fun of
fonts moving around, we missed one.
For your question in IRC on fonts - The heavier one is japanese fonts - Kochi
Mincho. The lighter one should be the correct one - AR PL SungtiL GB.
You see the help title (four characters) - First, Second, Forth look like they
are using japanese fonts, and third one is using simplified chinese glyph.
It seems like a effect of having Japanese preferred first.
There was the same problem in FC2.
FC3 has fixed it, but it comes out in FC4T2 again.
It looks like rawhide has traditional working fine, but not simplified. We have
both gbsn00lp.ttf and bsmi00lp.ttf in the stage2.img. Which _should_ be right
unless we need AR PL Kaitim GB for some reason for those characters. Kochi
Mincho is listed first in /etc/fonts/fonts.conf, but the right thing should
happen with LANG set.
I'd rather not add the other font -- is it actually needed or is there something
else going on?
Something else is going on... AR PL SungtiL GB should be enough for those chars
in simplified chinese.
Is the LANG set to zh_CN.UTF-8?
Tagoh-san, any insight?
(this problem maybe hidden for a while as we have just removed bitmap and move
back to ttf on this devel cycle)
BTW which LANG is anaconda running on? it's probably because fontconfig chooses
the Japanese font first so that the proper LANG isn't set and basically some
kanji characters are duplicated between Chinese font and Japanese font.
fontconfig won't work without the proper LANG in all CJK AFAICS. otherwise it
just works for one or two.
LANG is set to zh_CN.UTF-8 by the loader.
Just thought I'd throw in that there may be further problems here regarding
Chinese. We've noticed that the button bar is never being translated and gtk
complains about the locale not being supported by the C library, despite the
above LANG setting. Perhaps these two issues are related.
Oh, this problem is surely because of that. the proper fonts won't be chosen so
that gtk+ doesn't recognize the locale. no zh_CN.UTF-8 locale are available
somehow? just wonder.
Yeah, I was just going to say that there's probably a relationship there. I'm
going to be poking into that more later today hopefully... any insight would help
This looks better to me in /mnt/redhat/devel/katzj/i386 (which should be in