From: arved Date: Sun, 10 Jun 2001 17:04:36 +0000 (+0000) Subject: SGK/AHS: inlining of images X-Git-Tag: PRE_CODEFORMATTING~93 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8cda3e0b5a685e5ed61975c47f5cd7416ecfe056;p=xmlgraphics-fop.git SGK/AHS: inlining of images git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194286 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/render/pdf/PDFRenderer.java b/src/org/apache/fop/render/pdf/PDFRenderer.java index fb4a84ed3..648b880ad 100644 --- a/src/org/apache/fop/render/pdf/PDFRenderer.java +++ b/src/org/apache/fop/render/pdf/PDFRenderer.java @@ -231,7 +231,7 @@ public class PDFRenderer extends PrintRenderer { */ public void renderImageArea(ImageArea area) { // adapted from contribution by BoBoGi - int x = this.currentAreaContainerXPosition + area.getXOffset(); + int x = this.currentXPosition + area.getXOffset(); int y = this.currentYPosition; int w = area.getContentWidth(); int h = area.getHeight(); @@ -260,6 +260,7 @@ public class PDFRenderer extends PrintRenderer { (((float)(y - h)) / 1000f) + " cm\n" + "/Im" + xObjectNum + " Do\nQ\nBT\n"); } + this.currentXPosition += area.getContentWidth(); } /** render a foreign object area */