Hi,
thanks all of you for the replies.
I found that the problem was the image colour depth.
Changing it from 32 to 24 make the 'scale' works.
But like suggested by Clark, in the future I will use contentwidth
and scalefit if the scale attribute is deprecated.
Regards,
Daniele.
On 11/03/2011 16:55, Daniele Barzotti wrote:
> Hi,
>
> I'm working with docbook-xsl-1.76.1 to produce PDF documents with
> FOP-1.0 on Windows:
>
> D:\docbook\fop-1.0\fop.bat -xsl Userguide_FO.xsl -xml Userguide_IT.xml
> -pdf Userguide_IT.pdf
>
> I have two source file (one in English and one Italian).
> Obviously all tags are the same (eg, for the images) and differs only
> for text:
>
>
>
>
> <mediaobject>
> <imageobject>
> <imagedata align="center" fileref="Images_IT/IMAGE_007.png"
> scale="80"></imagedata>
> </imageobject>
> </mediaobject>
> >
>
> All images are scaled by 80%. The problem is that in the English version
> it works, while in the Italian version the images are not scaled!
>
> My custom xsl is the same for both...the only thing that differ is that
> the English images are PNG with 24 colour depth, while the Italian
> images are PNG with 32 colour depth.
>
> Could someone give me some suggestions?
>
> Regards,
> Daniele.