GNOME Bugzilla – Bug 144401
Arc has wrong orientation when being exported to SVG
Last modified: 2005-03-06 22:41:34 UTC
When I export the attached dia file (an arc with an arrow) to SVG, inkscape and batik display it with the wrong "orientation" (the arc opens in the other direction). batik seems to cut off part of the arc (too small bounding box?), inkscape displays an extra box (looks a bit like a textbox). dia itself only displays the arrow, not the arc, when re-opening the SVG file.
Created attachment 28716 [details] Testcase for arc displaying wrong when exported to SVG.
Created attachment 28717 [details] Arc testcase; the exported SVG file.
"inkscape displays an extra box" - this was the page boundary that I mistook for a box because the arc was bigger than the page.
2005-03-06 Hans Breuer <hans@breuer.org> * lib/diasvgenderer.c(draw_arc|fill_arc) : finally correct sweep and large_arc, thus produce correct arc output (like diasvg.py does;), fixes bug #144401