Closed
Bug 126231
Opened 23 years ago
Closed 23 years ago
several font download dialogs appear upon entering the unicode page
Categories
(Core :: Internationalization, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: tracy, Assigned: tetsuroy)
References
()
Details
(Keywords: intl, regression, Whiteboard: Need /sr)
Attachments
(1 file, 1 obsolete file)
962 bytes,
patch
|
Details | Diff | Splinter Review |
seen on windows commercial build 2002-02-18-06-trunk
-goto the above URL
the page loads fine, but four download dialogs appear suggesting that these
languages need to be intstalled in order for the page to view correctly. But,
the page is correctly rendering the various fonts named in the dialogs. (Korean,
Japanese, Traditional Chinese and Simplified Chinese)
Comment 1•23 years ago
|
||
I can reproduce this with http://www.unicode.org/iuc/iuc10/x-ncr.html
If I go to the Japanese, Korean, Simplified Chinese and Traditional Chinese page
one by one, each font download dialog appears. This is correct.
Keywords: nsbeta1
Assignee | ||
Comment 3•23 years ago
|
||
*** Bug 126083 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 4•23 years ago
|
||
Not sure why my check-in for 119927 causes this problem.
Oh well, I'll accept this and see what's going on.......
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•23 years ago
|
||
Ok, i think I know what's going on
we used to pass 'ja' to
rv = fontEnum->HaveFontFor(aFontPackID, &have);
but now we pass 'lang:ja' to it.
I will past a patch to trip out the 'lang:'.
Assignee | ||
Comment 6•23 years ago
|
||
This is because we didn't want to change
the contract between gfx and FontPackageProxy.
but we moved the call fontEnum->HaveFontFor(aFontPackID, &have);
from /gfx to /intl/locale
We need to strip the "lang:" from aFontPackID.
ftang: can you review?
Assignee | ||
Comment 7•23 years ago
|
||
ftang: can you veiw?
cc'ing ftnag
Comment 8•23 years ago
|
||
Comment on attachment 70157 [details] [diff] [review]
strip "lang:" and get the actual langID
r=ftang
Attachment #70157 -
Flags: review+
Assignee | ||
Updated•23 years ago
|
Priority: -- → P2
Target Milestone: --- → mozilla0.9.9
Comment 10•23 years ago
|
||
Comment on attachment 70157 [details] [diff] [review]
strip "lang:" and get the actual langID
Sure -- we know there's always a lang: at the front, and that aFontPackID[5]
won't index beyond the end of a short string passed in by an errant caller?
/be
Attachment #70157 -
Flags: superreview+
Comment 11•23 years ago
|
||
In other words, should we assert that (strncmp(aFontPackID, "lang:", 5) == 0)?
/be
Assignee | ||
Comment 12•23 years ago
|
||
I think it's better to test for validity
Attachment #70157 -
Attachment is obsolete: true
Assignee | ||
Comment 13•23 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 14•23 years ago
|
||
*** Bug 125971 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 15•23 years ago
|
||
verified fixed on commercial windows build 2002-02-20-06-trunk
Status: RESOLVED → VERIFIED
Comment 16•23 years ago
|
||
*** Bug 126130 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•