Problems with svg
Posted: 2007-07-09T15:06:53-07:00
I just downloaded the latest ImageMagick code (6.3.5) to build on Linux RHEL4. I have two issues, one regression from 6.3.3 and one continued failure, when viewing a svg format. The svg should create a green rectangle box with a black border and a title rotated along the right edge. This file views correctly with a windows viewer, but on Linux I have two problems.
1> Adding the rotate causes the title to not display.
2> Using path to create the border causes the entire rectangle to be black. This was working correctly in 6.3.3.
Below is the sample file to view these problems using display.
1> Adding the rotate causes the title to not display.
2> Using path to create the border causes the entire rectangle to be black. This was working correctly in 6.3.3.
Below is the sample file to view these problems using display.
Code: Select all
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 800 600">
<g id="Page1">
<rect x="192" y="96" width="384" height="480" style="fill: #008000; stroke: #008000; fill-rule: evenodd; "/>
<!-- With path the rectangle becomes black.
<path d="M192 96L575 96L575 575L192 575L192 96" style="stroke: #000000; stroke-width: 1; fill: none; "/>
-->
<!-- With transform text doesn't print -->
<g transform="rotate(-270 553 225)">
<text x="553" y="225" style="stroke: #000000; fill: #000000; font-family: 'Arial Font2'; font-size: 23px; font-weight: bold;">hsize=4in vsize=5in</text>
</g>
</g>
</svg>