Ina F | 7 Apr 2008 15:34
Picon

Re: Graphic Scalin in PDF


I've tried it also with 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 <at> sagehill.net
> 

--

-- 
View this message in context: http://www.nabble.com/Graphic-Scalin-in-PDF-tp16045877p16537419.html
Sent from the docbook apps mailing list archive at Nabble.com.

Gmane