Bug 190672 - yelp extremely large CJK fonts
Summary: yelp extremely large CJK fonts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yelp
Version: 5
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-04 12:38 UTC by Chien-Chung Yeh
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: yelp-2.16.0-10.fc6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-04 08:02:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to change CJK fonts size (2.13 KB, patch)
2006-05-04 12:38 UTC, Chien-Chung Yeh
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 165678 0 None None None Never

Description Chien-Chung Yeh 2006-05-04 12:38:36 UTC
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):
yelp-2.14.1-1.fc5

How reproducible:
Always

Steps to Reproduce:
1. LANG=zh_TW.UTF-8 yelp
2.
3.
  
Actual results:
Too large CJK fonts.

Expected results:
At lease change the fonts size when user change preferences's settings.

Additional info:
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.

Comment 1 Chien-Chung Yeh 2006-05-04 12:38:36 UTC
Created attachment 128604 [details]
patch to change CJK fonts size

Comment 2 sangu 2006-05-11 13:00:06 UTC
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.


Comment 3 Chien-Chung Yeh 2006-05-12 19:29:32 UTC
Thank you vary much!
I'll wait for it ...

Comment 4 Chien-Chung Yeh 2006-12-04 08:02:04 UTC
Fixed in FC6. (yelp-2.16.0-10.fc6)


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