]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Exit text-mode before rendering a instream-foreign-object.
authorFinn Bock <bckfnn@apache.org>
Fri, 15 Oct 2004 18:16:21 +0000 (18:16 +0000)
committerFinn Bock <bckfnn@apache.org>
Fri, 15 Oct 2004 18:16:21 +0000 (18:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198045 13f79535-47bb-0310-9956-ffa450edef68

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

index b32b6f43be3a0290d602721fcb64568448d87e67..6c5e62b37113b97e763f66eec52e882a22c1226e 100644 (file)
@@ -1181,6 +1181,7 @@ public class PDFRenderer extends PrintRenderer {
      * @see org.apache.fop.render.AbstractRenderer#renderForeignObject(ForeignObject, Rectangle2D)
      */
     public void renderForeignObject(ForeignObject fo, Rectangle2D pos) {
+        endTextObject();
         Document doc = fo.getDocument();
         String ns = fo.getNameSpace();
         renderDocument(doc, ns, pos);