Closed
Bug 136017
Opened 24 years ago
Closed 24 years ago
Some characters in menus/dialogs/etc. are rendered incorrectly
Categories
(Core :: Internationalization: Localization, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: m.wawoczny, Assigned: shanjian)
Details
(Keywords: intl, regression, Whiteboard: [FIX IN HAND][need a=])
Attachments
(6 files)
|
10.27 KB,
image/gif
|
Details | |
|
372 bytes,
text/plain
|
Details | |
|
644 bytes,
patch
|
Details | Diff | Splinter Review | |
|
1.69 KB,
image/gif
|
Details | |
|
703 bytes,
patch
|
shanjian
:
review+
waterson
:
superreview+
jud
:
approval+
|
Details | Diff | Splinter Review |
|
4.16 KB,
image/png
|
Details |
Some characters in menus/dialogs/etc. are rendered incorrectly, see attached screenshot - on left build 20020405, on right 20020406 (incorectly rendered chars are marked with red dot). This is probably regression caused by:
http://bugzilla.mozilla.org/show_bug.cgi?id=134733
http://bugzilla.mozilla.org/show_bug.cgi?id=86532
Mozilla/5.0 (Windows; U; Windows NT 5.0; pl-PL; rv:0.9.9+) Gecko/20020406
| Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
marek: thank you very much for your screen attachment. It's really helpful. :)
shanjian: I don't think it's a localization problem. (correct me I am wrong); but
it looks more like a layout problem ( chars are touching the adjacent
chars and
char height are different. ) Any clues for recent changes in the tree?
| Assignee | ||
Comment 3•24 years ago
|
||
this looks like a side-effect caused by bug 134733. I didn't expect truetype
font looks so poorly. We could fix this problem by treating certain charset
differently. But this reason might not be strong enough to back out my patch for
that bug.
Updated•24 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 4•24 years ago
|
||
Seems that adding user_pref("font.default", "sans-serif"); to prefs.js in user profile fixes about 80-90% cases.
Could this be nominated for 1.0?
| Reporter | ||
Comment 5•24 years ago
|
||
| Reporter | ||
Comment 6•24 years ago
|
||
Adding keyword: patch regression
Attaching patch, which fixes issues with Polish and Czech characters, also attaching screenshoot before and after applying patch.
Keywords: patch,
regression
| Reporter | ||
Comment 7•24 years ago
|
||
| Reporter | ||
Comment 8•24 years ago
|
||
| Assignee | ||
Comment 9•24 years ago
|
||
Marek, you might want to check argument "nsCharsetInfo* aSelf", only when
aSelf->mCodePage indicate it is Polish or Czech, should we apply your patch.
Comment 11•24 years ago
|
||
so... only 4 characters have problem (and all in 0x80-0x9f range,right ?)
Comment 12•24 years ago
|
||
I am wrong- 9 chars.
| Reporter | ||
Comment 13•24 years ago
|
||
Something like:
if (aSelf->mCodePage == 1250) {
mb[138] = 138;
mb[140] = 140;
mb[141] = 141;
mb[142] = 142;
mb[143] = 143;
mb[154] = 154;
mb[156] = 156;
mb[158] = 158;
mb[159] = 159;
}
But this is only for Windows-1250, I should also add ISO-8859-2, but I don't
known mCodePage for it, anyone can help?
| Reporter | ||
Comment 14•24 years ago
|
||
Btw. I don't know if only this 9 chars are wrong, we should check _all_ characters.
I've already checked Polish, Czech and German - German chars were fine.
| Assignee | ||
Comment 15•24 years ago
|
||
Yes, that's what we need.
Don't worry about latin-2, it is not a window ACP code page.
Just make sure win1250 works fine and we can check in your patch.
Status: NEW → ASSIGNED
| Reporter | ||
Comment 16•24 years ago
|
||
| Assignee | ||
Comment 17•24 years ago
|
||
Comment on attachment 82006 [details] [diff] [review]
Updated patch which fixes issues with Polish and Czech characters
r=shanjian
Attachment #82006 -
Flags: review+
| Assignee | ||
Comment 18•24 years ago
|
||
attinasi, could you sr?
| Reporter | ||
Comment 19•24 years ago
|
||
Status Whiteboard:[FIX IN HAND][need sr=]
Whiteboard: [FIX IN HAND][need sr=]
| Assignee | ||
Comment 20•24 years ago
|
||
chris, could you sr?
| Reporter | ||
Comment 21•24 years ago
|
||
This really need to be in 1.0...
Anyone can sr=?
| Assignee | ||
Comment 22•24 years ago
|
||
chris, could you sr?
Comment 23•24 years ago
|
||
Comment on attachment 82006 [details] [diff] [review]
Updated patch which fixes issues with Polish and Czech characters
sr=waterson
Attachment #82006 -
Flags: superreview+
| Reporter | ||
Comment 24•24 years ago
|
||
Nominating for mozilla1.0.1, for 1.0 is too late (?)
Keywords: mozilla1.0.1
Whiteboard: [FIX IN HAND][need sr=] → [FIX IN HAND][need a=]
Check this into the trunk before getting 1.0.1 approval.
| Reporter | ||
Comment 26•24 years ago
|
||
Anyone can check this into trunk, please?
| Assignee | ||
Comment 27•24 years ago
|
||
I just checked it into trunk. Mark it as fixed.
Add nsbeta1 to keyword for consideration of nsbeta1
Comment 28•24 years ago
|
||
Is this bug related only to certain Polish and Czech characters? I'm asking
because there's a pretty same problem with one russian letter (#255 ASCII). At
least on Windows as far as I can see.
Comment 29•24 years ago
|
||
A screenshot for my previous post.
| Assignee | ||
Comment 30•24 years ago
|
||
If it is a problem, it should be a different one. Open a new bug and let's do
some investigation.
Comment 31•24 years ago
|
||
Filed a new bug 148984. Thank you for assistance.
Updated•24 years ago
|
Attachment #82006 -
Flags: approval+
Comment 32•24 years ago
|
||
"please land this on the 1.0.1 branch. once there remove the "mozilla1.0.1+"
keyword, and add the "fixed1.0.1"
Keywords: mozilla1.0.1 → mozilla1.0.1+
| Reporter | ||
Comment 33•24 years ago
|
||
Shanjian Li:
Could you check this into branch, please?
Comment 35•24 years ago
|
||
Verified the test case in comment #5 is displayed fine with charset set to
iso-8859-2 on 06-12 branch build on WinXP.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•