Hi,
The following attributes work for me, for imagedata:
width="100%" scalefit="1"
(and nothing else, no units, no nothing).
As per
http://www.sagehill.net/docbookxsl/ImageSizing.html" scalefit
If set to a value of 1, then the processor will scale the
graphic proportionally to fit the allowed area. The image
is scaled to fit the specified width or depth viewport
dimension, whichever fills up first.
[...]
To keep a graphic for printed output at its natural size
unless it is too large to fit the available width, in which
case shrink it to fit, use scalefit="1", width="100%" and
contentdepth="100%" attributes."
Regards,
EB
> -----Original Message-----
> From: cookiemonster [mailto:
ina_frenzel@...]
> Sent: Tuesday, April 01, 2008 1:58 PM
> Subject: Re: [docbook-apps] Graphic Scalin in PDF
>
> Hi
>
> I also have a problem with images in pdf.
> It completely ignores my imagedata commends. All the pictures are totally
> unscaled, bigger than 100% and distorted.
> I've tried various image formats (png, gif, jpg) and units (cm,
> px, pc, %).
> Nothing works.
> Without giving units the images are also unscaled.
>
> What can I do?
>
> Thanks in advance!
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
docbook-apps-unsubscribe@...
For additional commands, e-mail:
docbook-apps-help@...