- From: albert albert <albert_nexus@hotmail.com>
- Date: Mon, 23 Jul 2001 15:52:59 +0000
- To: svg-testsuite-comments@w3.org
I'm trying to name a line over a textpath. The line goes from the right to
the left. First i have the problem that the text appears upside-down. To
roll it i do the following:
<textpath>...
glyph-orientation-horizontal="180"
direction="rtl"
...
</textpath>
The problem is that the first letter of the text doesn't appear where it
should be.(note the "j" at the example of the end).
The other problem appeared when I wanted the text over the line. I did it
with the attribute "dy". It only moves the first letters but not all the
text.
Here you have the entire example where appear(it seems) those two bugs:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="11cm"
height="11cm" viewBox="427000 4582000 2000 2000">
<rect x="427000" y="4582000" width="2000" height="2000"
style="fill:olive; stroke:black; stroke-width:0.1cm"/>
<defs>
<path id="id10340000033065" d=" M 427970.584565 4583207.734019 L
427884.988334 4583180.151868 M 427884.988334 4583180.151868 L
427763.608969 4583141.025451"/>
</defs>
<use xlink:href="#id10340000033065" style="fill:none; stroke:beige;
stroke-width:5"/>
<text style="font-family:verdana; font-size:10pt; fill:darkslategrey"
font-stretch="condensed" text-anchor="middle" dy="5">
<textPath startOffset="50%" xlink:href="#id10340000033065"
glyph-orientation-horizontal="180" unicode-bidi="bidi-override"
direction="rtl">ABCDEFGHIJ</textPath>
</text>
</svg>
_________________________________________________________________
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp
Received on Monday, 23 July 2001 11:53:30 UTC