I have been hoping to use SVG for printed reports. I need clean text and line output
to be meet the users expectations. Batik seems perfect for my use but I ran into a
problem. I used the stroke:rgb(0,0,0) command (which I don't have to use). It caused
the text and lines in the printout to have dithered edges. The appearance is that of
wiggly lines and edges of text. With Batik 1.0 the effect is smaller than with
previous versions but it is still presentt. When I remove the command, the printing
is much better.
Am I doing something wrong?
This file prints with fuzzy edges
====================================================================
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg width="576" height="378">
<g id="background" > <!-- style="visibility:inherit" -->
<rect id="OuterRect" x="10" y="10" width="500" height="300"
rx="0" ry="0"
style="stroke:black;stroke-width:1;fill:white"/>
<text x="174.4" y="54.6" style="font-family:Times New Roman;
font-size:12;
stroke-width:0;
stroke-opacity:0;
stroke:rgb(0,0,0);
fill:black"
>Date</text>
<text x="174.4" y="100" style="font-family:Times New
Roman;font-size:12;stroke-width:0;stroke-opacity:1;stroke:rgb(0,0,0);
fill-opacity:1;fill:rgb(0,0,0);opacity:1">Date</text>
<text x="174.4" y="200" style="font-family:Times New
Roman;font-size:12">Date</text>
</g>
</svg>
=====================================================================
This file prints cleanly. The only difference is that the stroke:rgb(0,0,0) command
is missing
======================================================================
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg width="576" height="378">
<g id="background" > <!-- style="visibility:inherit" -->
<rect id="OuterRect" x="10" y="10" width="500" height="300"
rx="0" ry="0"
style="stroke:black;stroke-width:1;fill:white"/>
<text x="174.4" y="54.6" style="font-family:Times New Roman;
font-size:12;
stroke-width:0;
stroke-opacity:0;
fill:black"
>Date</text>
<text x="174.4" y="100" style="font-family:Times New
Roman;font-size:12;stroke-width:0;stroke-opacity:1;stroke:rgb(0,0,0);
fill-opacity:1;fill:rgb(0,0,0);opacity:1">Date</text>
<text x="174.4" y="200" style="font-family:Times New
Roman;font-size:12">Date</text>
</g>
</svg>
=============================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]