Closed Bug 134733 Opened 23 years ago Closed 23 years ago

some 8-bit character does not render correctly with raster font

Categories

(Core :: Internationalization, defect, P2)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: shanjian, Assigned: shanjian)

References

Details

(Keywords: intl, Whiteboard: [adt3])

Attachments

(4 files)

This problem is spawn from bug 128181. See steps and test case in the bug 128181. 

For non-truetype font, ie. raster font, there is no way to get accurate cmap. 
What we are doing now is to assume code point from 0x00 to 0xff in current 
charset. But this is not true. There is some holes in this area. Unfortuately, 
some of these holes are valid code points.
assign to myself.
Assignee: yokoyama → shanjian
Attached patch proposed patch (deleted) β€” β€” Splinter Review
I verified this on winnt en, win2k sc, win98 en. It seems reasonable to skip those 
code points. Some fonts (like courier on win98) does have some valid glyph in those 
area, but those characters are infrequently used, and we will resort to truetype 
font available in system to cover those glyph. User shouldn't be able to notice the 
possible side-effect, it there is any. 

ready for r/sr
Status: NEW → ASSIGNED
Keywords: intl
QA Contact: ruixu → ylong
Since this is splited from bug 128181, I copy the keywords there - nsbeta1+,
adt3.  And according to Frank's comment, the problem here is more important.

 
Keywords: nsbeta1+
Whiteboard: adt3
rbs, could you review my patch?
Comment on attachment 77108 [details] [diff] [review]
proposed patch

r=rbs
Attachment #77108 - Flags: review+
Marc, could you sr?
Comment on attachment 77108 [details] [diff] [review]
proposed patch

sr=attinasi
Attachment #77108 - Flags: superreview+
I think this is a adt2 problem, not a adt3 problem since it may cause some
garbage display in html form widget . 
shanjian, can you make a test case and a screenshot.
Priority: -- → P2
Whiteboard: adt3 → adt2
Target Milestone: --- → mozilla1.0
Comment on attachment 77108 [details] [diff] [review]
proposed patch

a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #77108 - Flags: approval+
Attached file test case (deleted) β€”
Attached image screen shot, before and after (deleted) β€”
Attached image screen shot repost. (deleted) β€”
Impact Summery
Impact Platform: ALL
Impact language users: 560M 100%
Probability of hitting the problem: MID
Severity if hit the problem in the worst case: some of the characters won't show
up correctly.
Way of recover after hit the problem: none
Risk of the fix: low, local to window code only when we deal with raster font.
Won't impact truetype font display. 
Potential benefit of fix this problem: other text display problem
shanjian said the screenshot show
AFTER patch in the left and BEFORE patch in the right
compare 137, 138, 139, 142, 145

between the left and the right

this is also true for euro sign, which is a big deal. 
I think this is a very low risk mid impact bug, and please + this one. 
Keywords: adt1.0.0
adt1.0.0+ (on ADT's behalf) approval for checkin into 1.0.
Whiteboard: adt2 → [adt3]
jaimejr forgot to put + after adt1.0.0, add that for him
Keywords: adt1.0.0adt1.0.0+
fix checked in. 
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
testers,
When verify this bug, please only pay attention to the left column of the buttons. 
Right column button was specified with NCR, that problem is covered by another bug. 

The buttons in first column are displayed fine on 04-08 trunk build /
WinXP-SimpChinese.
Status: RESOLVED → VERIFIED
This bug was verifid before 1.0 branch, so it will affect both trunk and branch
build.  Mark as verified1.0.0.
Keywords: adt1.0.0+verified1.0.0
*** Bug 106803 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.

Attachment

General

Creator:
Created:
Updated:
Size: