W3C home > Mailing lists > Public > www-xsl-fo@w3.org > August 2007

'scale-to-fit' in both directions

From: Jean-Yves Belmonte <john@pixware.fr>
Date: Fri, 17 Aug 2007 13:19:30 +0200
Message-ID: <46C58442.1080504@pixware.fr>
To: www-xsl-fo@w3.org
Given this XSL-FO fragment:

     border="solid 1pt"

I would have expected the content size to match exactly the viewport size, 
possibly leading to non-uniform scaling. It seems that XEP has a different 
interpretation, as it preserves the original aspect ratio (see attached 
PDF). Is that the correct behaviour? (This is the result I would expect with 
'content-width' set to 'auto' instead of 'scale-to-fit').

I'd be very grateful if someone could enlighten me on this issue.

Thanks in advance,


Received on Monday, 20 August 2007 21:17:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:10:06 UTC