Display of graphics in PDF output

Here should go questions about transforming XML with XSLT and FOP.
Posts: 2
Joined: Tue Jul 06, 2010 8:42 pm

Display of graphics in PDF output

Post by taraheisig » Tue Jul 06, 2010 8:53 pm

First, I am relatively new to DocBook and to oXygen XML Author.

I am using the default DocBook PDF transformation scenario to convert from DocBook 5 XML to PDF. In the output PDF file, the graphics appear larger than their normal size; however, I have not set any scaling. This includes the default "draft" watermark graphic. Is there some parameter I can set so that my graphics appear normal in the PDF output?


Posts: 2668
Joined: Tue May 17, 2005 4:01 pm

Re: Display of graphics in PDF output

Post by adrian » Wed Jul 07, 2010 4:22 pm


The image scaling is one of the problems of Apache FOP, the default FO processor used by Oxygen.

Better solutions with less nuisances and better support and documentation are XEP and AntennaHouse. The only inconvenience is that they are commercial so they require an additional investment.

Oxygen can be configured to use either of the mentioned FO Processors:
Options -> Preferences -> XML -> XSLT-FO-XQuery -> FO Processors

Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Posts: 13
Joined: Wed Nov 17, 2010 8:44 am

Re: Display of graphics in PDF output

Post by daz » Fri Dec 03, 2010 4:39 am

This is an old post but some information I discovered that might be helpful.
Make sure your images are within range of 180 dpi -300 dpi. This should prevent Apache FOP randomly scaling your images. I found anything above 300 dpi does weird things to scaling images.

Post Reply