W3C home > Mailing lists > Public > www-svg@w3.org > November 2006

SVG and symbol formatting

From: David White <davidw@kencook.com>
Date: Mon, 6 Nov 2006 14:29:24 -0600
To: <www-svg@w3.org>
Message-ID: <005e01c701e2$3fd02230$9201a8c0@domain.kencook.com>

Greetings all!

I have some text in a XSL-FO stylesheet which contains an embedded SVG for a book cover.

I'm trying to render the book title but having trouble with the old &reg; symbol not formatting correctly.

I have this SVG (which contains XSL code that grabs the text from the XML data):

<svg:tspan x="0" y="0" style="font-size:24px"><xsl:apply-templates select="/book/bookinfo/title[1]/node()" /></svg:tspan>

if the XML node() is: Xpeditor&reg; Electrical Features

is there any way to get &reg; to format differently than the rest of the <tspan>?  &reg; should be superscript and 60% smaller than the 24px font used above...

thanks,

David White
Received on Monday, 6 November 2006 20:29:15 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:35 GMT