Re: [docbook-apps] PNG Images rendering on XML->FO->PDF

From
Daniele Barzotti <>
Date
2009-08-05T08:32:19+00:00
ID
Thread
Re: [docbook-apps] PNG Images rendering on XML->FO->PDF
Skopik Pavel ha scritto:
> Hello,
> 
> The easiest way is to add the width attribute to imagedata element. In
> the width attribute you specify percentage width with respect to the
> page margins - e. g. 100% or 70% etc. The scalefit attribute set to 1
> ensures that images ale scaled to the defined width. More info here:
> http://www.sagehill.net/docbookxsl/ImageSizing.html.
> 
> 
> Pavel

Thanks Pavel,

I made some tests and I found that the best solution is to use the
scale="80" (like suggested by George) without any other attribute.

I've also thought to use different stylesheets for html and PDF but, at
time, I'm too newbie to do this now!

Moreover I don't understand why the FO processor stretch the images
instead using their original size!

Cheers,
Daniele.