Page 1 of 1

FONT How does this work

Posted: Tue Nov 04, 2014 10:15 am
by Le Basque
Hi,

I don't understand use font in dita.

I use :

Code: Select all


	<xsl:attribute-set name="common.title">
<xsl:attribute name="font-family">sans-serif</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="__fo__root" use-attribute-sets="base-font">
<xsl:attribute name="font-family">serif</xsl:attribute>
<xsl:attribute name="xml:lang" select="translate($locale, '_', '-')"/>
<xsl:attribute name="writing-mode" select="$writing-mode"/>
</xsl:attribute-set>
In file FO document i have the property font-family="Arial Unicode MS, Helvetica" in the fo:root element.

Where are indicate this font in DITA OT ?
how to specify multiple fonts ?
Thank you

Re: FONT How does this work

Posted: Tue Nov 04, 2014 10:24 am
by Radu
Hi,

There is a font mappings file which maps logical fonts to physical fonts.
This topic describes how:

http://www.oxygenxml.com/doc/ug-oxygen/ ... tails.html

Regards,
Radu