W3C home > Mailing lists > Public > www-svg@w3.org > February 2000

mixing text and textPath

From: Thierry Kormann <Thierry.Kormann@sophia.inria.fr>
Date: Mon, 14 Feb 2000 16:37:44 +0100
Message-Id: <200002141537.QAA18989@quokka.inria.fr>
To: www-svg@w3.org
cc: Thierry.Kormann@sophia.inria.fr

Hi,

Using the following SVG document, my question is :

What the start point of the "Second part" text. Is it the end point
of the path or the end point of "First part"  ?

-- exemple ---

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG February 2000//EN" 
                "http://www.w3.org/Graphics/SVG/SVG-20000202.dtd">
<svg width="10cm" height="3cm" viewBox="0 0 1000 300">
<defs>
<path id="MyPath"
         d="M 100 200 
               C 200 100 300   0 400 100
               C 500 200 600 300 700 200
               C 800 100 900 100 900 100" />
</defs>
 <desc>Example toap01 - simple text on a path</desc>

 <use xlink:href="#MyPath" style="stroke:red" />
 <text style="font-family:Verdana; font-size:42.3333; fill:blue">
  First part
 <textPath xlink:href="#MyPath">
  We go up, then we go down, then up again
 </textPath>
Second part
</text>
 </svg>


-- 
Thierry Kormann
email: Thierry.Kormann@sophia.inria.fr  http://www.inria.fr/koala/tkormann/
Koala/Dyade/Bull @ INRIA - Sophia Antipolis
Received on Monday, 14 February 2000 10:38:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:47 GMT