Next in thread → Next in month →

Re: [docbook-apps] Graphic Scalin in PDF

From
Ina F <>
Date
2008-04-07T13:34:21+00:00
ID
Thread
Re: [docbook-apps] 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
> 
> 

-- 
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.
Next in thread → Next in month →