diff options
author | Finn Bock <bckfnn@apache.org> | 2004-10-15 18:16:21 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-10-15 18:16:21 +0000 |
commit | a515eab2a8b6e1bb1be7189256bd23bd380f695c (patch) | |
tree | 9df5d325e7fd3c3c66f05d166ef8079bf2c8a1bf /src | |
parent | f87102a847052f993280156bd70022b8d3f9f49a (diff) | |
download | xmlgraphics-fop-a515eab2a8b6e1bb1be7189256bd23bd380f695c.tar.gz xmlgraphics-fop-a515eab2a8b6e1bb1be7189256bd23bd380f695c.zip |
Exit text-mode before rendering a instream-foreign-object.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198045 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/render/pdf/PDFRenderer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFRenderer.java b/src/java/org/apache/fop/render/pdf/PDFRenderer.java index b32b6f43b..6c5e62b37 100644 --- a/src/java/org/apache/fop/render/pdf/PDFRenderer.java +++ b/src/java/org/apache/fop/render/pdf/PDFRenderer.java @@ -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); |