Closed Bug 723657 Opened 14 years ago Closed 8 years ago

document.normalize() causes slight rendering difference in the "f" character

Categories

(Core :: Layout: Text and Fonts, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(3 files)

The difference is very hard to see without screen zoom.
Attached image "before" screenshot
Attached image "after" screenshot
The "after" image is slightly darker where the two letters meet. 4 pixels differ (max channel difference: 42)
Linux only?
Sounds like perhaps an antialiasing artifact, where the difference is caused by one of the cases being painted in a single operation, and the other in two separate operations; where the subpixel antialiasing of the two glyphs overlaps, this can lead to slightly different results.
Is it a bug in Firefox? A bug in Linux? Something I should just teach my fuzzer to deal with? (Which won't be hard, thanks to the "max channel difference" feature of nsIDOMWindowUtils.compareCanvases.)
I'm not entirely sure yet. I'll try to figure out more definitely what's happening - comment 5 is really just speculation. What font is being used in your case (in case I have trouble reproducing it)?
Blocks: refdyn
Seems to be an Ubuntu font named "serif".
Is this something that still happens/matters?
Flags: needinfo?(jfkthame)
I can't readily seem to reproduce it, and it doesn't sound like it would really matter anyhow... Jesse, is this an issue we should look into at all, or just dismiss it?
Flags: needinfo?(jfkthame) → needinfo?(jruderman)
Jesse is gone. Let's just call this WFM.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(jruderman)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: