[xep-support] Problem with SVG - missing markers

Stepan Mik stepan at etnetera.cz
Fri Jul 8 08:04:33 PDT 2005


Hi all,

I would like to know where is error with SVG code (see bellow). When
displayed with Adobe SVG plugin, it  shows simple arrow (line with marker on
right hand side) as shown in attachment. However, when the SVG image is
included in XEP generated document, only line is visible, arrowhead marker
is missing (or scaled too small).
Note that the SVG fragment is exported from Microsoft Visio, so it could not
be well aligned with SVG specification, but I'm not SVG expert enough to
judge this.
What I would like to know is if error is in SVG itself or if it uses some
features that are unsupported by XEP.

Thanks

   Stepan Mik

------------------ SVG code ------------------------

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!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="0.727258in"
height="0.136707in" viewBox="0 0 52.3626 9.84293" xml:space="preserve"
color-interpolation-filters="sRGB" class="st3">
	<style type="text/css">
	<![CDATA[
		.st1
{marker-end:url(#mrkr1-6);stroke:#000000;stroke-linecap:round;stroke-linejoi
n:round;stroke-width:0.24}
		.st2
{fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1;stroke-width:0.
068965517241379}
		.st3
{fill:none;fill-rule:evenodd;font-size:12;overflow:visible;stroke-linecap:sq
uare;stroke-miterlimit:3}
	]]>
	</style>

	<defs id="Markers">
		<g id="lend1">
			<path d="M 1 -1 L 0 0 L 1 1 "
style="stroke-linecap:round;stroke-linejoin:round;fill:none"/>
		</g>
		<marker id="mrkr1-6" class="st2" orient="auto"
markerUnits="strokeWidth">
			<use xlink:href="#lend1"
transform="scale(-14.5,-14.5) "/>
		</marker>
	</defs>
	<g>
		<title>Page-1</title>
		<g id="shape1-1" transform="translate(4.92146,-4.92146)">
			<title>Sheet.1</title>
			<path d="M0 9.84 L42.52 9.84" class="st1"/>
		</g>
	</g>
</svg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arrow.PNG
Type: image/png
Size: 585 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20050708/335ea3cc/attachment.png>


More information about the Xep-support mailing list