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] Define my own inline.sequence


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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
> 
> 



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