[xep-support] Loosing content / Image scaling issue

Tobias Anstett [k15t.com] tobias at k15t.com
Tue Feb 9 11:18:39 PST 2010


Hi,

we recently noticed that in some situations XEP drops images.

The problem occurs sometimes when exporting very big pictures which
need to be resized. Therefore we use the scale-to-fit property to
scale the image with respect to its width as illustrated below:

<fo:external-graphic
            src="url(picture.jpg)"
            width="100%"
            height="auto"
            content-width="scale-to-fit"
            content-height="100%"/>

This works fine in most of the cases. However, if the height of the
image is still to big to get rendered properly to the page after it
was already resized, XEP drops the image with the following error:
[core.export.impl.XepExporter$XepLogger] error no space for an
element, trying to recover.

For us, loosing information is a very big issue. Is there any known workaround?

Cheers,
Tobias
-------------------
(*) 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