I have font variants working via XEP:
            <xsl:when test="@role='smallcaps'">
                <fo:inline font-variant="small-caps">
                    <xsl:call-template name="inline.charseq"/>
                </fo:inline>
            </xsl:when>

The caveat, is that I did have to install a font that had small-caps and add the support for it in the xep.xml config:

     <font-family name="Fontin" embed="true">
            <font><font-data ttf="Fontin-Regular.ttf"/></font>
<font style="italic"><font-data ttf="Fontin-Italic.ttf"/></font>
            <font weight="bold"><font-data ttf="Fontin-Bold.ttf"/></font>
<font variant="small-caps"><font-data ttf="Fontin-SmallCaps.ttf"/></font>
        </font-family>

 <font-alias name="small-caps" value="Fontin"/>

Best regards,

--Scott

Mauritz Jeanson wrote:
-----Original Message-----
From: Jacques Foucry <fo:inline xmlns:fo="http://www.w3.org/1999/XSL/Format"; font-variant="small-caps">


XEP does not support "font-variant".
http://www.renderx.com/reference.html#Formatting_Properties


<fo:inline xmlns:fo="http://www.w3.org/1999/XSL/Format"; font="Windings">


Here, you probably want font-family="Windings". (I hope the spelling is
right. On my laptop, I have a "WingDings" font, but no "Windings".)

Mauritz





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to