]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
End textmode before emitting an image.
authorFinn Bock <bckfnn@apache.org>
Tue, 19 Oct 2004 13:35:16 +0000 (13:35 +0000)
committerFinn Bock <bckfnn@apache.org>
Tue, 19 Oct 2004 13:35:16 +0000 (13:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198060 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/pdf/PDFRenderer.java

index 6c5e62b37113b97e763f66eec52e882a22c1226e..be016fedb5421e840e2b8ed35ed7c9f11f95f745 100644 (file)
@@ -1073,6 +1073,7 @@ public class PDFRenderer extends PrintRenderer {
      * @see org.apache.fop.render.AbstractRenderer#renderImage(Image, Rectangle2D)
      */
     public void renderImage(Image image, Rectangle2D pos) {
+        endTextObject();
         String url = image.getURL();
         putImage(url, pos);
     }