Closed
Bug 74889
Opened 23 years ago
Closed 23 years ago
Default Linux Chinese font seems too big and there are some character display as "?"
Categories
(Core :: Internationalization, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: amyy, Assigned: bstell)
References
Details
(Keywords: intl, Whiteboard: [PDT+])
Attachments
(12 files)
91.92 KB,
image/jpeg
|
Details | |
497 bytes,
text/html
|
Details | |
64.88 KB,
image/png
|
Details | |
10.06 KB,
image/png
|
Details | |
25.10 KB,
patch
|
Details | Diff | Splinter Review | |
13.78 KB,
image/gif
|
Details | |
31.50 KB,
image/gif
|
Details | |
12.45 KB,
patch
|
Details | Diff | Splinter Review | |
12.33 KB,
patch
|
Details | Diff | Splinter Review | |
1.47 KB,
patch
|
Details | Diff | Splinter Review | |
144.30 KB,
image/jpeg
|
Details | |
90.25 KB,
image/png
|
Details |
Build: 04-05-2001 Linux trunk 1. Launch the browser and go: http://www.china.com and visit both Traditional and Simplified Chinese page, you will see those Chinese characters inside the bottons on the right top of the page are too big, it's not a good UI.(see attached screeshot) 2. There are some "?" display at the middle of the page. Note: This is not the case for Windows and Mac. And there is similar bug 60530 before, I guess maybe we should change the default fonts?
Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
What is the font face and size setting in your pref for Chinese?
Keywords: intl
Reporter | ||
Comment 3•23 years ago
|
||
For traditional Chinese: 1. Serif: Greyed out menu item "No font avalible for Traditional Chinese", and there is no way that you can change this font, and size set to "16". 2. Sans Serif: There are only different kinds of iso-88591 font avalible. 3. Monospace: Only different kinds of iso-88591/8859-15 avalible, size set to "13" by default. For Simplified Chinese: Serif: isas-fangsongti-gb2312, Sans Serif and Monospace: isas-songti-gb2312, all size set to "16". The "?" only existing in Traditional Chinese, that's problem the font problem, but for Simplified even I have font set up, characters still display too large.
Updated•23 years ago
|
QA Contact: andreasb → ylong
Comment 6•23 years ago
|
||
Brain/Nhotta - Please accept and plus this one. Per i18n triage, we are assigning a P2 and a M0.9.1
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Comment 7•23 years ago
|
||
Suggest we move this to M0.9.2
Assignee | ||
Comment 8•23 years ago
|
||
I believe that Yuying Long's comments of 2001-04-05 13:31 are because
of a bug in the font preferences code. That bug is now fixed.
> > For traditional Chinese:
> 1. Serif: Greyed out menu item "No font avalible for Traditional Chinese",
> and there is no way that you can change this font, and size set to "16".
> 2. Sans Serif: There are only different kinds of iso-88591 font avalible.
> 3. Monospace: Only different kinds of iso-88591/8859-15 avalible, size set to
> "13" by default.
Yuying: would you come by and show me what is happening here?
Thanks
Comment 9•23 years ago
|
||
changing to nsbeta1-. great, if this problem has already been addressed, but this one does not meet beta stopper guidelines. i wouldn't put too much effort into this one.
Comment 10•23 years ago
|
||
TM to 0.9.2 per PDT triage (it's OK to check it in by Friday or after 0.9.2 branch).
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Assignee | ||
Comment 11•23 years ago
|
||
Assignee | ||
Comment 12•23 years ago
|
||
set NS_FONT_DEBUG=5 (ie: 4 + 1) to see font loading the page says load: .text2 {color:#000000; font-size: 12px; line-height: 130%; font-family: "ËÎÌå"; text-decoration: none} but we loaded: loaded -isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0
Assignee | ||
Comment 13•23 years ago
|
||
changing the pref("font.min-size.variable.zh-CN", 10); had no effect (also tried zh-TW, ja, ko)
Assignee | ||
Comment 14•23 years ago
|
||
two separate factors apply here: 1) in modules/libpref/src/unix/unix.js pref("font.min-size.variable.zh-CN", 10); pref("font.min-size.fixed.zh-CN", 10); 2) in gfx/src/gtk/nsFontMetricsGTK.cpp the code is trying to avoid using scaled fonts because they look so poor in some cases. Thus the code says if an available unscaled font is between 0.8 and 1.8 of the desired size use it. In this case the 12px font * 1.8 = 21px so the (Redhat stock) 16px unscaled font is used. 2266 /* 2267 * XXX Maybe revisit this. Upper limit deliberately set high (1.8) in 2268 * order to avoid scaling Japanese fonts (ugly). 2269 */ 2270 if ((ratio > 1.8) || (ratio < 0.8)) { 2271 scalable = 1; 2272 }
Comment 16•23 years ago
|
||
I think this is a critical one.
Assignee | ||
Comment 17•23 years ago
|
||
Assignee | ||
Comment 18•23 years ago
|
||
Assignee | ||
Comment 19•23 years ago
|
||
The Unix client does not do a good job choosing between bitmap and scaled fonts and can end up using vastly oversized bitmaps when scaled fonts are available. In attachment http://bugzilla.mozilla.org/showattachment.cgi?attach_id=37750 note how much larger the bitmapped fonts are compared to the scaled fonts. In attachment http://bugzilla.mozilla.org/showattachment.cgi?attach_id=37751 note the overlapping characters.
Assignee | ||
Comment 20•23 years ago
|
||
Comment 21•23 years ago
|
||
OK, I also attach two screen shot, using the same machine, one with 4.x which disply reasonable result and one with 6.x which disply bad result.
Comment 22•23 years ago
|
||
Comment 23•23 years ago
|
||
Comment 24•23 years ago
|
||
pdt+ base on 6/11 pdt meeting.
Updated•23 years ago
|
Whiteboard: [PDT+]
Assignee | ||
Comment 25•23 years ago
|
||
Comment 26•23 years ago
|
||
r=ftang for Created an attachment (id=38347) The idea is bstell will break his origional patch into two patch. The first one (38347) include name changes without new functionality . and the sencond patch include the real functionality changes. We break into two patch so the review will be easier.
Comment 27•23 years ago
|
||
sr=blizzard
Assignee | ||
Updated•23 years ago
|
Whiteboard: [PDT+] → [PDT+] part 1 waiting for approval
Assignee | ||
Updated•23 years ago
|
Whiteboard: [PDT+] part 1 waiting for approval → [PDT+] part 1 r=ftang, sr=blizzard, need a=
Comment 28•23 years ago
|
||
a=blizzard on behalf of drivers for the trunk
Assignee | ||
Comment 29•23 years ago
|
||
attachment 38347 [details] [diff] [review] checked into trunk
Comment 30•23 years ago
|
||
clear " part 1 r=ftang, sr=blizzard, need a=" for status since bstell check in the first part .
Whiteboard: [PDT+] part 1 r=ftang, sr=blizzard, need a= → [PDT+]
Assignee | ||
Comment 31•23 years ago
|
||
Assignee | ||
Comment 32•23 years ago
|
||
attachment 39018 [details] [diff] [review] has the code that actually controls scaling
Whiteboard: [PDT+] → [PDT+] have patch, need r= sr= a=
Comment 33•23 years ago
|
||
r=ftang for 06/18/01 17:23 http://bugzilla.mozilla.org/showattachment.cgi?attach_id=39018
Assignee | ||
Updated•23 years ago
|
Whiteboard: [PDT+] have patch, need r= sr= a= → [PDT+] have patch r=ftang, need sr= a=
Comment 34•23 years ago
|
||
change status to "[PDT+] r=ftang, ask blizzard to sr= (6/19 9:45) a="
Whiteboard: [PDT+] have patch r=ftang, need sr= a= → [PDT+] r=ftang, ask blizzard to sr= (6/19 9:45) a=
Comment 35•23 years ago
|
||
Ask alecf to sr= 12:32
Comment 36•23 years ago
|
||
sr=blizzard
Updated•23 years ago
|
Whiteboard: [PDT+] r=ftang, ask blizzard to sr= (6/19 9:45) a= → [PDT+] r=ftang, sr=blizzard need a= since 13;17 6/19
Comment 37•23 years ago
|
||
a= asa@mozilla.org for checkin to the trunk. (on behalf of drivers)
Updated•23 years ago
|
Whiteboard: [PDT+] r=ftang, sr=blizzard need a= since 13;17 6/19 → [PDT+]wait for tree open to check in
Assignee | ||
Comment 38•23 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: [PDT+]wait for tree open to check in → [PDT+]
Assignee | ||
Comment 39•23 years ago
|
||
*** Bug 83416 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 40•23 years ago
|
||
*** Bug 27551 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 41•23 years ago
|
||
Reporter | ||
Comment 42•23 years ago
|
||
Brian: I still see some "?" shows in Chinese page(see attached file later). Also the buttons that I original reported still appears too big.
Reporter | ||
Comment 43•23 years ago
|
||
Assignee | ||
Comment 44•23 years ago
|
||
Yuying: since this bug has so much size related discussion would you kindly open a new bug to address the '?'. In that new bug could you note the encoding and the missing character's value (in the encoding or in unicode)?
Reporter | ||
Comment 45•23 years ago
|
||
OK, the "?" issue is a seperater problem. However seems the Simp. Chinese font still appreas too big - see my screenshot later.
Reporter | ||
Comment 46•23 years ago
|
||
Reporter | ||
Comment 47•23 years ago
|
||
I'll mark this one as verified for now cause the "?" problem has been fixed. For the font still showing big, I'll open another bug for that, it's too late to re-open this PDT bug at this point.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•