xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: text - rtl examples
Date Thu, 23 Oct 2003 12:37:16 GMT
Hi Chris,

    Works for me:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
   "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="100" height="100" viewBox="498355 252780 50 50"
      xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink">
<path id="t_32" d="M498376,252804 L498399,252818 L498627,253000"
  fill="none" stroke="red"/>
<text>
<textPath xlink:href="#t_32">
<tspan unicode-bidi="bidi-override" direction="rtl">txet</tspan></textPath>
</text>
</svg>


Chris Faulkner wrote:

> Hi
> 
> I now have this but it still fails.
> 
> <path id="t_32" d="M498376,252804L498399,252818L498627,253000"
> class="invis"/>
> <text>
> <textPath xlink:href="#t_32">
> <tspan unicode-bidi="bidi-override" direction="rtl">txet</tspan></textPath>
> </text>
> 
> 
> Any ideas ?
> 
> Thanks
> 
> 
> Chris
> 
> 
>>-----Original Message-----
>>From: Thomas DeWeese [mailto:Thomas.DeWeese@Kodak.com]
>>Sent: 23 October 2003 12:28
>>To: Batik Users
>>Subject: Re: text - rtl examples
>>
>>
>>Chris Faulkner wrote:
>>
>>
>>>Hello
>>>
>>>I am trying to get rtl-oriented text to work. I have batik 1.5 - in the
>>>readme it says that rtl text should work. Is there anything
>>
>>wrong with my
>>
>>>example below ?
>>
>>    You need to add set the "unicode-bidi" property to "bidi-override".
>>
>>
>>><path id="t_32" d="M498376,252804L498399,252818L498627,253000"
>>>class="invis"/>
>>><text>
>>><textPath xlink:href="#t_32">
>>><tspan direction="rtl">My Text</tspan></textPath>
>>></text>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>>For additional commands, e-mail: batik-users-help@xml.apache.org
>>
>>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message