logo

Response

« Return to the main article

You are viewing this page out of context. To see it in the context it is intended please click here.

About This Page

Reply posted by Jake Howlett on Fri 28 Jun 2002 in response to Painting with SVG, a primer

Re: Vertical alignment?

Try the W3C spec. Just about everything you could possibly want to know:


http://www.w3.org/TR/2000/CR-SVG-20000802/text.html#TextLayout


Try these three options:


<text x="10" y="20" transform="rotate(90,10,20)">Rotated 90</text>
<text x="50" y="20" style="writing-mode: tb;">Writing Mode tb</text>
<text x="90" y="20" style="writing-mode: tb;
glyph-orientation-vertical: 0;">Vertical zero</text>


Jake
-codestore.net