Closed
Bug 165878
Opened 22 years ago
Closed 17 years ago
Only the first one of the suggested fonts is passed to ATSUI
Categories
(Core :: Internationalization, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: hsivonen, Assigned: jshin1987)
Details
(Keywords: intl)
Attachments
(2 files, 1 obsolete file)
Build ID: 2002083017
Reproducible: Always
Steps to reproduce:
1) Load the the test case (upcoming)
Actual results:
There are glyphs for all the tested characters in the version of Times the ships
with OS X but not in the version of Times New Roman that ships with OS X. When
Times New Roman is the primary font suggestion, Lucida Grande is used. When
Times is the primary font suggestion, Times is used.
Expected results:
Expected Times to be used in both cases.
Reporter | ||
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
Actually, this is standard ATSUI behavior, to a certain degree.
Copy the text in the previous attachment and paste it into a Rich text-enabled
TextEdit document. It will probably default to Lucida Grande, and all is fine.
Select Times in the font panel, and all is still fine. However, when selecting
Times New Roman, TextEdit reverts back to Lucida Grande for the characters that
the M$ font lacks.
Mozilla complicates things further. The capital G with caron is not Lucida
Grande, but Helvetica or another, narrower font.
With or without ATSUI, Mozilla must traverse the document defined fonts on a
character to character basis and see to it that the first choice applies if it
is possible, then the next, and so on, and in the end it should default to
whatever ATSUI defaults to if no defined font suffices.
Reporter | ||
Comment 3•22 years ago
|
||
> Actually, this is standard ATSUI behavior, to a certain degree.
When the app doesn't provide ATSUI with the required information, yes. But the
styles in the test case provide that info, so not passing the info to ATSUI is a
bug.
> With or without ATSUI, Mozilla must traverse the document defined fonts on
> a character to character basis and see to it that the first choice applies
> if it is possible, then the next, and so on, and in the end it should
> default to whatever ATSUI defaults to if no defined font suffices.
Mozilla's job would be to provide ATSUI with the fallback list from CSS. Then it
would be ATSUI's job to do the fallback efficiently.
See
http://developer.apple.com/techpubs/macosx/Carbon/text/ATSUI/Apple_Type_S_code_Imaging/Functions/Mapping_Font_Fallbacks.html#//apple_ref/c/func/ATSUSetFontFallbacks
Was that screenshot taken in 1.1? Post 1.1 builds with the fix for bug 111728
shouldn't have that extra padding around the l+slash. I certainly don't see it
using FizzillaCFM/2002082909.
Reporter | ||
Comment 5•22 years ago
|
||
Screenshot from a recent nightly.
Attachment #97386 -
Attachment is obsolete: true
Comment 6•22 years ago
|
||
ftang or nhotta should own this.
nhotta for now.
Assignee: yokoyama → nhotta
Comment 8•22 years ago
|
||
Sorry, I am confused, is this problem fixed or not ?
What is the problem in
http://bugzilla.mozilla.org/attachment.cgi?id=97403&action=view
?
Reporter | ||
Comment 9•22 years ago
|
||
No, this hasn't been fixed. Both lines in the test case should be rendered in
Times. However, the first line is rendered in Lucida Grande.
Comment 11•20 years ago
|
||
what a hack. I have not touch mozilla code for 2 years. I didn't read these bugs
for 2 years. And they are still there. Just close them as won't fix to clean up.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Comment 13•20 years ago
|
||
Mass Re-opening Bugs Frank Tang Closed on Wensday March 02 for no reason, all
the spam is his fault feel free to tar and feather him
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment 14•20 years ago
|
||
Reassigning Franks old bugs to Jungshik Shin for triage - Sorry for spam
Assignee: nobody → jshin1987
Status: REOPENED → NEW
Comment 15•17 years ago
|
||
I see both lines in the testcase as Times in a current trunk build.
Status: NEW → RESOLVED
Closed: 20 years ago → 17 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•