xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Graham <...@cacr.caltech.edu>
Subject Text and lines not rendering
Date Fri, 01 Jan 2010 20:19:17 GMT
Hi,

I have some SVG that contains text and lines and only parts of it  
render with Squiggle or Batik, and even then there are differences  
between what renders. I using Batik 1.7 on a MacBook Pro running Mac  
OS 10.5.8 and Java 1.5.0_20.

The SVG renders fine with Inkscape, Safari and Firefox and validates  
with the old W3C SVG validator.

With Squiggle, no text is shown nor the large horizontal line.

Producing a PDF using batik-rasterizer renders the text but the large  
horizontal line is still omitted.

What is going wrong?

	Cheers,

	Matthew

Here is the SVG:

<?xml version="1.0" encoding="UTF-8"?>
<svg:svg xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:svg="http://www.w3.org/2000/svg

"
          xmlns:local="urn:local"
          version="1.0"
          width="1485"
          height="1053">
    <svg:g>
       <svg:line style="fill:none;fill- 
rule:evenodd;stroke:#000000;stroke-width:1px;stroke- 
linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
                 x1="373.75"
                 y1="97.8"
                 x2="373.75"
                 y2="85.3"
                 id="1-1-l"/>
       <svg:text id="1-1"
                 style="font-size:6px;font-style:normal;font- 
weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width: 
1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font- 
family:Palatino"
                 xml:space="preserve"
                 text-anchor="end"
                 x="732.5"
                 y="105.3"><svg:tspan id="1-1-n" x="732.5"  
y="105.3">Richard ANGOVE</svg:tspan><svg:tspan id="1-1-d" x="732.5"  
y="111.3">1720-</svg:tspan></svg:text>
       <svg:text id="1-1-p"
                 style="font-size:6px;font-style:normal;font- 
weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width: 
1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font- 
family:Palatino"
                 xml:space="preserve"
                 x="752.5"
                 y="105.3"><svg:tspan id="1-1-p-n" x="752.5"  
y="105.3">Catherine GEORGE</svg:tspan></svg:text>
       <svg:line style="fill:none;fill- 
rule;evenodd;stroke:#000000;stroke-width:1px;stroke- 
linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
                 x1="62.291666666666664"
                 y1="295.9"
                 x2="1299.7916666666667"
                 y2="295.9"
                 id="1-1-cl"/>
       <svg:line style="fill:none;fill- 
rule:evenodd;stroke:#000000;stroke-width:1px;stroke- 
linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
                 x1="737.5"
                 y1="105.3"
                 x2="747.5"
                 y2="105.3"
                 id="1-1-m-1"/>
       <svg:line style="fill:none;fill- 
rule:evenodd;stroke:#000000;stroke-width:1px;stroke- 
linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
                 x1="737.5"
                 y1="102.8"
                 x2="747.5"
                 y2="102.8"
                 id="1-1-m-2"/>
       <svg:path style="fill:none;fill- 
rule:evenodd;stroke:#000000;stroke-width:1px;stroke- 
linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
                 d="M 742.5,105.3 L 742.5,130.3"
                 id="1-1-m-l"/>
       <svg:text style="font-size:6px;font-style:normal;font- 
weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width: 
1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font- 
family:Palatino"
                 xml:space="preserve"
                 text-anchor="middle"
                 x="742.5"
                 y="100.3"><svg:tspan x="742.5" y="100.3" id="1-1-m- 
d">1745</svg:tspan></svg:text>
    </svg:g>
</svg:svg>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message