Closed Bug 233781 Opened 21 years ago Closed 19 years ago

Incorrect UI font when running in Japanese environment

Categories

(Core :: Internationalization, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 170854

People

(Reporter: needle, Assigned: smontagu)

References

Details

(Keywords: intl)

Attachments

(2 files)

User-Agent:       
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

When the Language preference in the "International" settings pref pane of Mac OS X is set to have
Japanese as the primary language, The entire UI of Firefox except for the menubar is displayed in the 
"Hiragino Kaku Gothic Pro W3" Japanese font, where it should be displayed in the "Lucida Grande" font.
In Mac OS X, when the primary language is set to Japanese, the UI is to be displayed in a mixture of 
Hiragino Kaku Gothic Pro W3 and Lucida Grande. Hiragino being displayed for Japanese double-byte 
text, and Lucida Grande for single-byte English text.
This places all the text (URL field, Search field, Bookmarks bar, tooltips, preference sheet, contextual 
menus, basically everything which relies on XUL) slightly off than it should be. It also makes buttons 
awkwardly large with the text, again, placed slightly above where it should be. While not unusable, this 
gives Firefox a significantly unpolished look, as all other applications running in Japanese Mac OS X is 
displayed in the Hiragino/Lucida Grande mixture, as stated earlier.

Usually, Mac OS X running in Japanese seems to work in the following way: When the font is set to 
Lucida Grande and the system encounters Japanese text, it automatically substitues the missing 
characters from those taken from Hiragino Kaku Gothic W3. (For this reason, the default browser 
display font in Safari is set to Lucida Grande even when the OS primary language is set to Japanese.)

Reproducible: Always
Steps to Reproduce:
1. Open System Preferences.
2. Open "International" Preferences pane.
3. In the "Language" tab, add the Japanese language to the language list and drag it to the top of the 
list.
4. Log out and log in.
5. Start Firefox.
Actual Results:  
English text in the user interface, except for the menubar, are displayed in Hiragino Kaku Gothic Pro 
W3.

Expected Results:  
The UI English text should have been displayed in Lucida Grande, with only the Japanese text showing 
as Hiragino Kaku Gothic Pro W3.

In Mac OS X, when the primary language is set to Japanese, the UI is to be displayed in a mixture of 
Hiragino Kaku Gothic Pro W3 and Lucida Grande. Hiragino being displayed for Japanese double-byte 
text, and Lucida Grande for single-byte English text.

When the Language preference in the "International" settings pref pane of Mac OS X is set to have
Japanese as the primary language, The entire UI of Firefox except for the menubar is displayed in the 
"Hiragino Kaku Gothic Pro W3" Japanese font, where it should be displayed in the "Lucida Grande" font.

This places all the text (URL field, Search field, Bookmarks bar, tooltips, preference sheet, contextual 
menus, basically everything which relies on XUL) slightly off than it should be. It also makes buttons 
awkwardly large with the text, again, placed slightly above where it should be. As the font size for the 
URL field has been enlarged by 1-2 dots, the favicon is enlarged as well, resulting in an ugly look.
While not unusable, this gives Firefox a significantly unpolished non-native look, as all other 
applications running in Japanese Mac OS X is displayed in the Hiragino/Lucida Grande mixture, as 
stated earlier.
Attached file testcase
This is not Firefox only.
Workaround:
use userChrome.css as follows.
* { font-family: 'Lucida Grande'; }

Anyway CSS system fonts are displayed with Hiragino fonts on Mozilla
in Japanese locale.

Seems like the followings are Mac OS X system fonts according to
TinkerTool v.3.21.
http://www.bresink.com/osx/TinkerTool.html

System:                    LucidaGrande, 13 pt
System (headlines):        LucidaGrande-Bold, 13 pt
Application:               Helvetica, 12 pt
Fixed-pitch:               Monaco, 10 pt
Messages:                  LucidaGrande, 13 pt
Labels:                    LucidaGrande, 10 pt
Help tags:                 LucidaGrande, 11 pt
Window title bars:         LucidaGrande, 13 pt
Utility Window title bars: LucidaGrande, 10 pt

dup of Bug 33312?
related to Bug 109176 and Bug 210167 (and Bug 233782).

-> browser
Assignee: firefox → smontagu
Component: General → Internationalization
Keywords: intl
Product: Firefox → Browser
QA Contact: amyy
Version: unspecified → Trunk
Although it is a trifling problem, I have reported the problem to which
appearance becomes somewhat bad by the bookmark tool bar of Firefox.(bug 233752)

bug233752 will be set to duplicate if the cause is the same.
Blocks: 233752
Probably this causes Bug 240704 also.
Marking new.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 260275
Blocks: 240704
No longer blocks: 260275

*** This bug has been marked as a duplicate of 170854 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: