From: David Tolpin (email@example.com)
Date: Thu Dec 26 2002 - 21:33:02 PST
> For XEP 3.10 you implemented:
> - implemented viewport size ('width' and 'height') attributes on images;
> added 'scale-to-fit' value to 'content-width' and 'content-height';
> I tried to make use of this feature using:
> <fo:external-graphic src="url(img\large-image.gif)"
> in order to scale down the large image to fit the block it is in.
> But that doesn't work. What's missing?
scale-to-fit scales the size of the image to the size of the viewport.
Vieport's size is either set explicitely by attributes width and height
or is determined from image's size (i.e. pixels times resolution).
That is what the Recommendation says.
What you probably need is
I.e. make the image as wide as the block is and scale its height proportionally.
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to firstname.lastname@example.org from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Thu Dec 26 2002 - 21:27:51 PST