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] Image scaling problem


I would try a couple of things:

1.  Try substituting an English image in your Italian document. That will tell you if 
the issue is with the image files.

2.  Try using fop with the -foout option to generate a .fo file for each of the 
English and Italian.  Then peek inside the FO output to see if the 
<fo:external-graphic> elements have different properties.

Those two steps should narrow down the possibilities.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Daniele Barzotti" <daniele.barzotti@eurocomtel.com>
To: "DocBook Apps" <docbook-apps@lists.oasis-open.org>
Sent: Friday, March 11, 2011 8:55 AM
Subject: [docbook-apps] Image scaling problem


> 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:
>
> <figure>
>  <title>Main window</title>
>
>  <mediaobject>
>    <imageobject>
>      <imagedata align="center" fileref="Images_IT/IMAGE_007.png"
>                 scale="80"></imagedata>
>    </imageobject>
>  </mediaobject>
> </figure>
>
>
> 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.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 



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