Red Hat Bugzilla – Bug 190672
yelp extremely large CJK fonts
Last modified: 2007-11-30 17:11:31 EST
Description of problem:
In CJK environment, too large CJK fonts make it difficult to read documents.
Fonts setting by "Preferences" is useless.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. LANG=zh_TW.UTF-8 yelp
Too large CJK fonts.
At lease change the fonts size when user change preferences's settings.
Attached file is my patch just for Simplified & Traditional Chinese and
Japanese. I am not familiar with GTK programing, it is easier to regexp a
locale string by using "QRegExp", but I do not know how to do it with GTK.
If we can apply the following line in /usr/bin/mozilla:
MOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*|-\1|g"`
to yelp, then change fonts size for all locales should work and the code
should be more clean.
Created attachment 128604 [details]
patch to change CJK fonts size
See Also : http://bugzilla.gnome.org/show_bug.cgi?id=165678
* Building yelp 1.15.1 with gecko 1.8 over (firefox 1.5.X), this problem is fixed.
But fedora uses mozilla 1.7.3.
Thank you vary much!
I'll wait for it ...
Fixed in FC6. (yelp-2.16.0-10.fc6)