Closed Bug 311193 Opened 20 years ago Closed 20 years ago

Incorrect SVG rendering for outlines since change from GDI+ to Cairo on branch.

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: flafuente81, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051004 Firefox/1.4.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051004 Firefox/1.4.1 In the example given, previous to the change from GDI+ rendering backend for SVG to Cairo, the tiger showed black outlines around the eyelashes and the moustache. Now it only renders the white fill, without the stroke that makes the outline. It seems to be related to the size of the outline, as increasing it makes the outline appear again. Reproducible: Always Steps to Reproduce: 1.Start a Firefox nightly with version equal to 2005100415 or later (haven't tried narrowing the window with hourlies). 2.Open http://www.croczilla.com/svg/samples/tiger/tiger.svg 3.Compare it to the rendering produced on previous nightlies. Actual Results: The eyelashes and moustache are missing the black outline they are supposed to have. Expected Results: The eyelashes and moustache should be showing black outlines. Confirmed on mozillazine forums by at least 2 users.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b5) Gecko/20051005 Firefox/1.4.1 ID:2005100500 Confirmed
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hi Fede. Thanks for your testing and bug report, but it is actually GDI+ that does it wrong, and cairo that does it right. Those lines are very, very thin. GDI+ incorrectly rounds up strokes of less than 1px to 1px, whereas cairo draws them as they should be. --> invalid
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.