OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Font size/rendering of superscripts in PDF output

Thank you for your advices. Without having a deeper knowledge of FO, I 
came up with the fllowing solution, based on your proposals:

<xsl:template name="inline.superscriptseq">
   <xsl:param name="content">
     <xsl:if test="@dir">
       <xsl:attribute name="direction">
           <xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
       <xsl:when test="$fop.extensions != 0">
         <xsl:attribute name="vertical-align">super</xsl:attribute>
         <xsl:attribute name="baseline-shift">super</xsl:attribute>
         <!-- new! -->
         <xsl:attribute name="font-size">60%</xsl:attribute>
     <xsl:copy-of select="$content"/>


Joachim Ziegler                       Stuhlsatzenhausweg 85
Max-Planck-Institut für Informatik    66123 Saarbrücken, Germany
Email: ziegler@mpi-sb.mpg.de          Tel.: (+49) 0681 9325-127

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]