
11 Feb
2014
11 Feb
'14
11:57 a.m.
2014-02-11 12:56 GMT+01:00 Krzysztof Kosiński <tweenk.pl@...400...>:
2014-02-11 12:49 GMT+01:00 Tavmjong Bah <tavmjong@...8...>:
If compatibility with old Inkscape files is important, we could set 'preserveAspectRatio' to 'none' on opening a file (if it is not already set). This would break non-Inkscape generated files.
We should set this attribute if there's Inkscape-related markup in the document, such as sodipodi:namedview.
PS this is yet another case where creating our XML tree with a SAX parser would be very useful.
Regards, Krzysztof