Mister Mitchub wrote:

I am having problems with the following arrow definition which does not result in an arrowhead being drawn by Batik. The Adobe plugin, however, prints it as it is supposed to appear. Any ideas on how to change the SVG or Batik code would be greatly anticipated :)

Hi Peter,


The simplest change is to set overflow="visible" on the marker
element. The most correct change would be to provide the viewBox
and markerWidth/Height attributes. Currently Batik is clipping the marker to 0,0 3,3 (default markerWidth/Height is 3), all your content
is to the left (and some above) this clip rect) because marker
establishes a viewport this is I believe Batik is correct to do this.


Thank you and regards,
Peter
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
<svg xmlns="http://www.w3.org/2000/svg"; width="4in" height="4in" viewBox="0 0 4000 4000" xml:space="preserve" color-interpolation-filters="sRGB" class="st53">
<style type="text/css"><![CDATA[
.st6 {marker-end:url(#mrkr13-46);stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}
.st7 {fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1;stroke-width:0.625}
.st25 {fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1;stroke-width:0.25}
.st53 {fill:none;fill-rule:evenodd;font-size:12;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
]]></style>
&nbs! p; <defs>
<g id="lend13">
<path d="M 3 1 L 0 0 L 3 -1 L 3 1 " style="stroke:none"/>
</g>
<marker id="mrkr13-46" class="st7" refX="-4.8" orient="auto" markerUnits="strokeWidth">
<use xlink:href="#lend13" transform="scale(-1.6,-1.6) "/>
</marker>
</defs>
<g id="shape1216-115" transform="translate(2072.89,-2958.72)">
<path d="M0 3986.22 L-0 4092.52 L91.9 4092.52" class="st6"/>
</g>
</svg>


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes <http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus>






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to