amplesdk
amplesdk copied to clipboard
SVG: Path calculation errors on IE8
Chrome displays SVG correctly, but on IE8 paths (or transforms) are calculated incorrectly.
e.g.
http://pastebin.com/SDpbEks2
shows up like this:

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.