OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
> bobs@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.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]