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

From: Bob Stayton <bobs@sagehill.net>
Date: Tue Nov 17 2009 - 08:45:39 PST

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@sagehill.net

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

----- Original Message -----
From: <Anders.Svensson@sorman.com>
To: <xep-support@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@renderx.com [mailto:owner-xep-support@renderx.com]
> On Behalf Of Dave Pawson
> Sent: den 17 november 2009 10:43
> To: xep-support@renderx.com
> Subject: Re: [xep-support] planned support for scale-down-to-fit property
>
> 2009/11/16 Bob Stayton <bobs@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@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@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@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
Received on Tue Nov 17 09:08:15 2009

This archive was generated by hypermail 2.1.8 : Tue Nov 17 2009 - 09:08:22 PST