« Return to Thread: Graphic Scalin in PDF

Re: Graphic Scalin in PDF

by Ina F :: Rate this Message:

Reply to Author | View in Thread

I've tried it also without using contentwidth, but it also doesn't work. It's the same result as before. Nothing has changed.

Bob Stayton wrote:
The problem is you are using contentwidth="100%". A percentage in the
contentwidth attribute means to scale the image itself to a percentage of
the intrinsic image size. So setting contentwidth to 100% effectively means
you do not want it scaled. Not only that, contentwidth takes precedence
over scalefit="1" in the stylesheets. So just remove contentwidth and your
graphic should scale to the width of page based on the other two attributes.
See this page for more details on image scaling attributes:

http://www.sagehill.net/docbookxsl/ImageSizing.html

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

 « Return to Thread: Graphic Scalin in PDF