directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: Dockbook -> PDF how to size images
Date Sat, 14 Aug 2010 19:28:50 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Stefan

Late thanks for workaround. I just can believe that this is the online
solution ... It's really odd and I expected a better solution from
dockbook. Maybe I can find something at the Apache FOP pages.

Late thanks and regards
Felix

On 08/13/10 09:27, Stefan Seelmann wrote:
> Hi Felix,
> 
>> Trying to generate the pdf the images look horrible size (like Figure
>> 50k FT Architecure).
>>
>> I'm using following code:
>> <figure
>>  id="50k FT Architecture">
>>  <title>50k FT Architecture</title>
>>  <mediaobject>
>>    <imageobject>
>>      <imagedata
>>        fileref="images/50k-ft-architecture.png" />
>>    </imageobject>
>>  </mediaobject>
>> </figure>
> 
> I made the same experience with the Studio documentation. In the end I
> used the 'scale' attribute, but its value must be set individually for
> each image by trial and error. The good thing is that the scale
> attribute is only used for PDF output, in HTML the image still has its
> original size. Here is an example:
> 
>   <mediaobject>
>     <imageobject>
>       <imagedata scale="75" fileref="images/fromX500toLDAP.png"></imagedata>
>     </imageobject>
>   </mediaobject>
> 
> HTH,
> Stefan
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxm7nIACgkQ2lZVCB08qHGdMgCfcIxDn1QJewfiP8EpEaDnbigJ
H78AoJtpmKTwzDjQES7iX1bxoC5k44mk
=QmCO
-----END PGP SIGNATURE-----

Mime
View raw message