DITA - FONT - LOCATION

ESTRADE
Posts: 46
Joined: Mon Aug 22, 2011 3:53 pm

DITA - FONT - LOCATION

Post by ESTRADE » Wed Aug 28, 2013 10:17 am

Hello,

What name of file DITA OT is used for define the font definition for REGION BODY

Thank you

ESTRADE
Posts: 46
Joined: Mon Aug 22, 2011 3:53 pm

Re: DITA - FONT - LOCATION

Post by ESTRADE » Wed Aug 28, 2013 10:38 am

I modified file commons-attr.xsl part :

Code: Select all

    <xsl:attribute-set name="__fo__root" use-attribute-sets="base-font">
<xsl:attribute name="font-family">[b]serif[/b]</xsl:attribute>
<xsl:attribute name="xml:lang" select="translate($locale, '_', '-')"/>
<xsl:attribute name="writing-mode" select="$writing-mode"/>
</xsl:attribute-set>
It is OK for text but not OK for 'title'

Where is the font code for title ?

Thank you

Radu
Posts: 6980
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA - FONT - LOCATION

Post by Radu » Wed Aug 28, 2013 10:42 am

Hi,

In the same commons-attr.xsl you have an attribute set defined for: "common.title"
That might be the one.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

ESTRADE
Posts: 46
Joined: Mon Aug 22, 2011 3:53 pm

Re: DITA - FONT - LOCATION

Post by ESTRADE » Wed Aug 28, 2013 1:58 pm

Thank you

Post Reply