[xep-support] Problem with SVG - missing markers

From: Stepan Mik <stepan@etnetera.cz>
Date: Fri Jul 08 2005 - 08:04:33 PDT

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>

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html

arrow.PNG
Received on Fri Jul 8 08:27:02 2005

This archive was generated by hypermail 2.1.8 : Fri Jul 08 2005 - 08:27:04 PDT