Trouble setting Arial as my font family

Here should go questions about transforming XML with XSLT and FOP.
jacko
Posts: 1

Trouble setting Arial as my font family

Thu Nov 03, 2005 6:53 pm

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
george
Site Admin
Posts: 2100

Thu Nov 03, 2005 7:47 pm

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

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 2 guests