Closed GoogleCodeExporter closed 9 years ago
Looks like Dia interprets newline characters within SVG text elements. Thus
<text x=... y=... ...>
hello
</text>
results in a newline ahead of 'hello'. I think this is a bug in Dia since the
default XML rendering mode should be to remove newlines:
http://www.w3.org/TR/SVG/text.html#WhiteSpace
None the less, I can remove the newlines from the output to improve this aspect
of how the SVG appears in Dia.
Please consider raising a bug against Dia.
Original comment by Michael....@gmail.com
on 22 Jul 2012 at 10:02
Remaining issues look to be with Dia. It looks like it ignores 'stroke-dash'
and isn't using a font with correct/matching metrics. Mscgen uses drawing
order to determine layers as per the SVG standard, so errors in overlapping are
likely due to Dia not implementing that correctly.
http://www.w3.org/TR/SVG/render.html#PaintersModel
That said, of the samples I checked, Dia now looks okay (give or take overrun
of long text lines), and is quite a good program.
Please consider producing test cases and reporting to the Dia project.
Original comment by Michael....@gmail.com
on 22 Jul 2012 at 10:18
Original issue reported on code.google.com by
jncline@gmail.com
on 27 Jan 2012 at 11:12