OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]