W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2009

Re: underline and superscript

From: Tony Graham <Tony.Graham@MenteithConsulting.com>
Date: Fri, 27 Nov 2009 10:46:50 +0000
To: www-xsl-fo@w3.org
Message-ID: <87fx80xn1h.fsf@takai.menteithconsulting.com>
On Fri, Nov 27 2009 03:02:27 +0000, nicolas.senechal@gmail.com wrote:
> I have a link defined as follows:
>
> <fo:basic-link text-decoration="underline"
> line-height-shift-adjustment="disregard-shifts">
>     Introducing MyProduct
>     <fo:inline line-height="100%" baseline-shift="20%" font-size="smaller"
>>®</fo:inline>
>      2.4
> </fo:basic-link>
>
>
> The link rendered using this code looks weird both in fop and in antenna
> renderer. The underline under the (R) symbol is:
> - thinner
> - superscripted (it is drawn just under the (R) symbol)

Did you try <fo:inline text-decoration="underline"> around the unadorned
<fo:basic-link>?

Regards,


Tony Graham                         Tony.Graham@MenteithConsulting.com
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd                               XML Guild member
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2
Received on Friday, 27 November 2009 10:47:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 November 2009 10:47:17 GMT