[xep-support] planned support for scale-down-to-fit property

Bob Stayton bobs at sagehill.net
Tue Nov 17 08:45:39 PST 2009


Hi,
This information is from the XSL 1.1 W3C Recommendation.[1]

scale-to-fit
The largest scaling-factor permitted will be applied to the content so that 
the scaled content-height is less than or equal to the height of the 
viewport.

scale-down-to-fit
If the intrinsic content-height is less than or equal to the height of the 
viewport the content-height should be the intrinsic content-height. 
Otherwise the largest scaling-factor permitted will be applied to the 
content so that the scaled content-height is less than or  equal to the 
height of the viewport.

scale-up-to-fit
If the intrinsic content-height is greater than or equal to the height of 
the viewport the  content-height should be the intrinsic content-height. 
Otherwise the largest scaling-factor permitted will be applied to the 
content so that the scaled content-height is less than or equal to the 
height of the viewport.

Bob Stayton
Sagehill Enterprises
bobs at sagehill.net

[1] http://www.w3.org/TR/xsl/

----- Original Message ----- 
From: <Anders.Svensson at sorman.com>
To: <xep-support at renderx.com>
Sent: Tuesday, November 17, 2009 5:40 AM
Subject: RE: [xep-support] planned support for scale-down-to-fit property


> How does this property differ from "scale-to-fit"? That's the one I've 
> used for scaling images, and I had never heard of "scale-down-to-fit"...
>
> Regards,
>
> Anders Svensson
>
> -----Original Message-----
> From: owner-xep-support at renderx.com [mailto:owner-xep-support at renderx.com] 
> On Behalf Of Dave Pawson
> Sent: den 17 november 2009 10:43
> To: xep-support at renderx.com
> Subject: Re: [xep-support] planned support for scale-down-to-fit property
>
> 2009/11/16 Bob Stayton <bobs at sagehill.net>:
>> Does RenderX have plans to support the XSL 1.1 property named
>> 'scale-down-to-fit' for graphics? That would be very useful for 
>> preventing
>> oversize images from exceeding the page margins.
>
>
> Could I add my support to this request please.
> It seems such a natural feature to add.
>
> regards
>
>
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> Docbook FAQ.
> http://www.dpawson.co.uk
>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo at renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service 
> http://www.renderx.com/terms-of-service.html
>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo at renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service 
> http://www.renderx.com/terms-of-service.html
>
> 

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list