amplesdk icon indicating copy to clipboard operation
amplesdk copied to clipboard

SVG: Path calculation errors on IE8

Open h6w opened this issue 12 years ago • 1 comments

Chrome displays SVG correctly, but on IE8 paths (or transforms) are calculated incorrectly. e.g. http://pastebin.com/SDpbEks2 shows up like this: AntennaChromeIE8

h6w avatar Jan 31 '13 02:01 h6w

The problem found in path transformation where mandatory rounding happens (VML does not allow decimal numbers in path) for all segment values. Solution in Ample SDK can be using bigger viewBox internally, pre-calculating factor for user viewBox and applying this factor to all units met in document. This is somewhat epic effort, so parking for now.

ilinsky avatar Apr 21 '13 10:04 ilinsky