Page 1 of 1

Trouble setting Arial as my font family

Posted: Thu Nov 03, 2005 6:53 pm
by jacko
Hello

New to docbook and oxygen so apologies if I'm being slow but...

I need to use Arial as my font in the pdf transformation.

I have set the parameter in my formatprint.xsl file as below:

<!-- set the body font -->
<xsl:param name="body.font.family" select="'Arial'"></xsl:param>

However when I run the transformation the pdf renders the text as hashes i.e #####

If I change the font family to serif or sans-serif it renders it fine.

How can I get it to use Arial?

Thanks

Posted: Thu Nov 03, 2005 7:47 pm
by george
Hi,

Please check the "How to Add a Font to the <oXygen/> Built-in FOP" [1] article from our documentation [2] page.

[1] http://www.oxygenxml.com/doc/addFontToFOP.pdf
[2] http://www.oxygenxml.com/documentation.html

Best Regards,
George