lewisje / svgweb

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

Support exponent values in path values #496

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
IE8.  Windows 7 (64 bit OS but 32 bit IE).  Flashplayer 10.

Open the html file.  The SVG renders as a fun-but-not-so-useful image.

The SVG works in inkscape and in chrome and firefox.

Should have seen a simple: "CIRRIS" text with some gradients.

SVGWeb is Dracolisk (but I have my +5 Vorpal Greatsword of Acid Burst so I'm 
guessing we'll be eating big, ugly lizard tonight!)

Original issue reported on code.google.com by jonbertr...@gmail.com on 27 May 2010 at 11:03

Attachments:

GoogleCodeExporter commented 8 years ago
Looks like the path normalizing breaks on the exponential values (eg 2e-5).  
Replacing those instances with 
decimal numbers (eg 0.0002) results in the correct path being rendered.

Attached is a patch.

Original comment by k...@svgmaker.com on 28 May 2010 at 7:55

Attachments:

GoogleCodeExporter commented 8 years ago
Nice patch.
Fixed in r1157.
Issue 496; Parse exponent valus in path values.
Thanks to ken@svgmaker.com for the patch.

Original comment by grick23@gmail.com on 3 Jun 2010 at 4:44