There seems to be a number of bugs concerning the positioning and cropping of external SVG images in Fop. In particular, any large SVG image gets cropped back to the 100x100 viewport defined in getViewportSize() in SVGUserAgent.java. This seems to fit with the problems reported against 0.20.5:
http://issues.apache.org/bugzilla/show_bug.cgi?id=35797 I've tried removing this hard-coded limit: public Dimension2D getViewportSize() { return new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE); } This allows the image to be displayed in all its glory. However, with or without this fix, scaling the image by setting explicit heights in the fo file fails to scale the image. Also in both cases, text or images following directly on from the svg graphic do not flow properly or completely disappear. The example examples/fo/svg/external.fo seems similarly afflicted. These problems seem to affect both the PDF renderer and the Java2D based renderers. I haven't checked the others yet. Both the following bugs seem to relate to these issues as well: http://issues.apache.org/bugzilla/show_bug.cgi?id=8463 http://issues.apache.org/bugzilla/show_bug.cgi?id=16672 Does anyone have any good ideas what's going wrong ? Or how to fix it ? Richard