Closed
Bug 294376
Opened 19 years ago
Closed 18 years ago
[Mac] Wrong default font sometimes used when non-default language specified
Categories
(Core Graveyard :: GFX: Mac, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: uriber, Assigned: jaas)
References
Details
(Keywords: intl, testcase)
Attachments
(4 files)
When a document specifies a language using the "lang" attribute, but does not specify a font (other than perhaps "serif"/"sans-serif"), any run of text containing non-ASCII characters is displayed using the default font of the default language (rather than the default font of the specified language). Moreover, the spacing between such a run of text and any following text is incorrect. Testcase and screenshot coming up.
Reporter | ||
Comment 1•19 years ago
|
||
Note that the empty <span>s are just for separating the non-ASCII text from the ASCII text. Any other markup would do. The ’, “ etc. are just samples of non-ASCII characters. The actual UTF characters would have worked as well. The third paragraph is just for reference - to show that the metrics used for the first part of the text in line 2 are *not* those of "Lucida Grande" (as you might have expected). Screenshot will follow.
Reporter | ||
Comment 2•19 years ago
|
||
Configuration used in this screenshot: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050514 Firefox/1.0+ Locale: en-US Default fonts for Western: Times / Helvetica Default fonts for Hebrew: Lucida Grande / Lucida Grande
Reporter | ||
Comment 3•19 years ago
|
||
*** Bug 273003 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 4•19 years ago
|
||
In this testcase, an actual Hebrew character is added somewhere in the document. This causes the following differences from the previous testcase: 1. ASCII-only text now also appears using the wrong font. 2. The spacing problem for ASCII text (but not for non-ASCII text) now does look as if the metrics of the correct (Hebrew default) font (Lucida Grande) are being used. The third line starting with "Please" is again just for reference. Screenshot will follow.
Reporter | ||
Comment 5•19 years ago
|
||
Reporter | ||
Comment 6•19 years ago
|
||
Changing summary to reflect testcase #2 as well.
Keywords: testcase
Summary: [Mac] Wrong default font used for non-ASCII text when non-default language specified → [Mac] Wrong default font sometimes used when non-default language specified
Updated•18 years ago
|
Flags: blocking1.9?
Reporter | ||
Comment 8•18 years ago
|
||
Fixed by Cairo (bug 323934).
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: blocking1.9?
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•