Dear all, We currently plan to improve Chinese fonts on Fedora 13. Last time we post a mail on fonts and i18n mailing list, as fangqq proposed a suggestion on this. But after collecting various feedbacks from users, at fedora-i18n meeting, a new proposal is created to replace the previous one. And after recollect these feedbacks, it seems the new proposal is accepted by most users.(Discussion thread in Chinese:http://groups.google.com/group/fedora-cn/browse_thread/thread/61709cc25950ff...) Please review this new proposal, thanks.
The goal of this new proposal is to let Simpilified Chinese (SC) and Traditional Chinese (TC) users choose different fonts. SC users choose SC writing style fonts, while TC users choose TC writing style fonts. some Chinese characters with same unicode code point is written with different style in SC and TC. See: http://tetralet.myweb.hinet.net/blog/Font_Compare.png
Purpose: To follow the current font policy on Fedora, we consider a new fonts conf for Chinese users in /etc/fonts/conf.d/, as below: 1. When use Simplified Chinese (SC for brief) locale to login Fedora gdm, all default desktop fonts will use WenQuanYi; 2. When use Traditional Chinese (TC for brief) locale to login Fedora gdm, all default desktop fonts will use UMing.
For more details and some other info please read on http://pwu.fedorapeople.org/fonts-conf/README.en and http://pwu.fedorapeople.org/fonts-conf.
Needed Changes for this proposal: For UMing/UKai, I removed the following fontconfig confs to avoid conflicts with other confs and do some clean up on this: 35-ttf-arphic-ukai-aliases.conf 35-ttf-arphic-uming-aliases.conf 41-ttf-arphic-ukai.conf 41-ttf-arphic-uming.conf 75-ttf-arphic-ukai-select.conf are removed. and a updated version of 64-ttf-arphic-uming.conf (from http://pwu.fedorapeople.org/fonts-conf/64-ttf-arphic-uming.conf). For wqy-zenhei, some clean up is done on 44-wqy-zenhei.conf (from http://pwu.fedorapeople.org/fonts-conf/44-wqy-zenhei.conf). And 65-wqy-zenhei.conf is renamed to 64-wqy-zenhei.conf, in order to override 65-nonlatin.conf. The new version is from http://pwu.fedorapeople.org/fonts-conf/64-wqy-zenhei.conf.
Note: For some unknown reason, the fc-match can't give correct results. But it seems gnome/firefox can choose the right fonts, actually I checked it with : $lsof /usr/share/fonts/*/*
Thanks, Peng Wu PS:Please reply to both fedora-fonts and fedora-i18n mailing list.
On Tue, 13 Apr 2010 23:17:57 -0400 (EDT), "PW" == Peng Wu pwu@redhat.com wrote:
PW> Needed Changes for this proposal:
PW> For wqy-zenhei, some clean up is done on 44-wqy-zenhei.conf (from http://pwu.fedorapeople.org/fonts-conf/44-wqy-zenhei.conf).
Apparently no explanations about mixing up the upstream numbering policy and ours in the font policy. so just leave it so far.
PW> And 65-wqy-zenhei.conf is renamed to 64-wqy-zenhei.conf, in order to override 65-nonlatin.conf. The new version is from http://pwu.fedorapeople.org/fonts-conf/64-wqy-zenhei.conf.
Please use 65-n-blahblahblah.conf instead, such as 65-0-wqy-zenhei.conf, to avoid the policy violation.
-- Akira TAGOH
"PW" == Peng Wu pwu@redhat.com wrote:
PW> And 65-wqy-zenhei.conf is renamed to 64-wqy-zenhei.conf, in order to override >65-nonlatin.conf. The new version is from http://pwu.fedorapeople.org/fonts-conf/64- wqy-zenhei.conf.
Please use 65-n-blahblahblah.conf instead, such as 65-0-wqy-zenhei.conf, to avoid the policy violation.
This change is merged back into http://pwu.fedorapeople.org/fonts-conf/ in 65-0-wqy-zenhei.conf. Please review this proposal, could we land this on Fedora 13?
Thanks, Peng Wu
On Wed, 14 Apr 2010 23:21:43 -0400 (EDT), "PW" == Peng Wu pwu@redhat.com wrote:
PW> This change is merged back into http://pwu.fedorapeople.org/fonts-conf/ in 65-0-wqy-zenhei.conf. PW> Please review this proposal, could we land this on Fedora 13?
You need to rename 64-ttf-arphic-uming.conf to 65-0- or something like that.
<test qual="any" name="lang" compare="contains"> <string>zh-hk</string> <string>zh-tw</string> </test>
The default value for qual is "any". so you don't need to describe it explicitly. also you shouldn't use compare="contains". I'll post another mail for more details later.
<edit name="family" mode="prepend" binding="strong"> <string>Bitstream Vera Sans</string> <string>DejaVu Sans</string> <string>AR PL UMing TW</string> <string>AR PL UMing HK</string> <string>AR PL UMing CN</string> </edit>
Do we really need this one? we use DejaVu fonts by default for now though, any reasons you prefer Bitstream Vera fonts rather than DejaVu fonts?
if no strong opinion on it, we could get rid of it and binding="strong" too.
-- Akira TAGOH
i18n@lists.stg.fedoraproject.org