LambrechtsWouter / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

Object bounding box not correct for paths with curves #75

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. See intertwingly.svg provided by Sam Ruby

What is the expected output? What do you see instead?
The lighter shades of the yellowish gradient should be centered on the top
parts of the ribbons as they pass over the lower parts. See the way Firefox
renders it. Instead, they are rendered a bit off from their proper
location. This SVG file is a good example because it is mostly curves.

The positioning of the radial gradients are based on object bounding box
units and the calculated bounding box values are not correct. The bounding
values being used for curves are currently based on the curve control
points, not the actual bounds. This incorrect, but is worth keeping as a
reasonable workaround until a better calculation is implemented.

Original issue reported on code.google.com by grick23@gmail.com on 7 Apr 2009 at 3:21

GoogleCodeExporter commented 8 years ago

Original comment by bradneub...@gmail.com on 9 Apr 2010 at 2:03

GoogleCodeExporter commented 8 years ago
Turns out most of our problem with intertwingly.svg was Issue 471 and Issue 
349. Now this file displays well. This issue (Issue 75) is still valid problem, 
but a better example of the problem can be found on Issue 349.

Original comment by grick23@gmail.com on 25 Nov 2010 at 7:01