Here's a simple test that all browsers that I have tested fail:

http://granite.sru.edu/~ddailey/svg/textPatternRotate.svg

It's the first time I've ever seen Safari for Windows actually do the best job 
for something SVG-related, and so, is noteworthy for that alone!

Here's the code:
-------------------------------
<svg xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink";
                width="100%" height="100%">
<defs>
 <pattern id="Wow" patternUnits="userSpaceOnUse" width="51" height="36" >
    <text  x="0" y="35" fill="black" stroke="black" kerning="1"
 font-size="35" font-family="serif">Wo</text>
  </pattern>
</defs>
<circle id="C" r="100" fill="url(#Wow)" cx="100" cy="100" stroke="black" 
stroke-width="3"/>
<use xlink:href="#C" transform="translate(200,0) rotate(45, 100, 100)"/>
</svg>
---------------

The results:
IE+ASV -- does not anti-alias the rotated text-pattern
Opera 11.00 -- does not display text within a pattern
Firefox 4.0b9-- doesn't respect the kerning (otherwise behaves as it should -- 
zooming nicely!)
Chrome 8 -- stroke and fill of the text do not align (this is true of Chrome 
whenever text is rotated -- the stroke and fill do not align)
Safari -- antialiases the rotated text and kerns properly, but on zoom converts 
it all to pixels and the image becomes intensely pixellated)

I've reported the various problems to Opera and Firefox (though I suspect the 
Firefox folks have known about the kerning issue for some time). I can't figure 
out how to report bugs to Safari and Chrome -- it seems like there used to be a 
way, but perhaps they customized my version so that I can't do it anymore :)

I thought it rather a fun example because of its simplicity!

cheers
David

[Non-text portions of this message have been removed]



------------------------------------

-----
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    svg-developers-dig...@yahoogroups.com 
    svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    svg-developers-unsubscr...@yahoogroups.com

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

Reply via email to