danriegsecker / degrafa

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

path not correctly when draw SVG data. #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. you can run the attachment to show the bug
2. there is a black line on the map
3.

What is the expected output? What do you see instead?
I expecte that there is no the black line ,but it has one.

What version of the product are you using? On what operating system?
Degrafa_.2.21.swc

Please provide any additional information below.

Original issue reported on code.google.com by phenix.cho@gmail.com on 25 Jun 2008 at 8:18

Attachments:

GoogleCodeExporter commented 9 years ago
When I use IE or Firefox ,the map is correct .but when copy the svg data to 
Flex 
builder 3 and run it,there is a black line.

Original comment by phenix.cho@gmail.com on 25 Jun 2008 at 8:20

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. I believe it has already been fixed and will work
correctly in the next beta release. We have made a number of changes to the path
rendering algorithms to avoid rendering issues for certain edge cases in the 
path
data. I just tried your mxml using the latest svn development branch (origin) 
and it
rendered the same way as the same svg path data rendered in Inkscape. I have 
attached
a swf generated from your mxml with the development branch of Degrafa. If 
prefer not
to use the the development branch and you wish to use 2.21 at the moment, all I 
can
suggest is trying to use some 'optimize' options in a vector editor to see if 
you can
simplify the svg data. It might eliminate some of the unusual path segments 
that can
cause this problem. I think this was related to curve data that represents 
lines, or
vertical lines or horizontal lines instead of curves.

Original comment by greg.d...@gmail.com on 25 Jun 2008 at 9:26

Attachments:

GoogleCodeExporter commented 9 years ago
Updating to reflect fixed status as per comments

Original comment by greg.d...@gmail.com on 1 Oct 2008 at 10:49