FONT How does this work

Post here questions and problems related to editing and publishing DITA content.
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

FONT How does this work

Post 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
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: FONT How does this work

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply