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

On 5 déc. 08, at 23:38, Scott Hudson wrote:

> 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"/>

I exactly do the same ( but with Goudy Old Style font) and it used to  
work with stylesheet version but it seems broken with 1.7.4. :-(

     <font-family name="Goudy Old Style" embed="true">
         <font-data ttf="GoudyOldStyle/Goudy Old Style.ttf"/>
       <font weight="bold">
         <font-data ttf="GoudyOldStyle/Goudy Old Style Bold.ttf"/>
       <font style="italic">
         <font-data ttf="GoudyOldStyle/Goudy Old Style Italic.ttf"/>
       <font variant="small-caps">
         <font-data ttf="GoudyOldStyle/Goudy-SC.ttf"/>

Did it work for you with 1.7.4 DocBook stylesheet version ?

Mac OS X Server à votre service, seconde édition (Leopard) est  
disponible au "Monde en Tique" <http://www.lmet.fr>".

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