Hi all,
 
It seems that SVG or Adobe has a bug when positioning Arabic text 
inside SVG.
Consider the following piece of SVG:
 
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
<svg width="12cm" height="3.6cm" viewBox="0 0 1000 300" 
version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns="http://www.w3.org/2000/svg";>
  <text x="100" y="100" font-family="Traditional Arabic" font-
size="50" startOffset="0">
      <tspan dy="30">
        إدارة المبيع
      </tspan>
  </text>
</svg>
 
The first character is recognized by the "dy" attribute and goes 
down 30 pixels, while all the other
characters not. (Keep in mind that Arabic is a right-to-left 
language, so the first character on the right)
This happens in IE with Adobe SVG plugin v3.03. With other 
international languages like Chinese this
problem doesn't occur.
 
The funny thing is that when you put the characters between any 
western character (a-z), the whole line
does get recognized and all chars go down 30 pixels. An example is 
this:
xإدارة المبيعx
 
My question to all of you guys is:
Is this a bug in SVG or Adobe SVG plugin? Is there a solution to 
this problem?
Thanks for your help!
 
Best regards,
 
William Chau
 
 
 
 






-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to