From 5efafc54d54127310f8af5ea68ac8dade2606c70 Mon Sep 17 00:00:00 2001 From: Christian Geisert Date: Sat, 18 Jan 2003 18:19:14 +0000 Subject: [PATCH] =?utf8?q?Reduced=20the=20size=20of=20the=20PSRenderer=20o?= =?utf8?q?utput=20(removed=20redundant=20movetos)=20Submitted=20by:=20Arnd?= =?utf8?q?=20Bei=EF=BF=BDner=20=20(see=20bug?= =?utf8?q?=20#16130)=20VS:=20---------------------------------------------?= =?utf8?q?-------------------------?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195868 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 2 ++ src/org/apache/fop/render/ps/PSRenderer.java | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 8e7c05ac8..e11e15181 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,7 @@ ============================================================================== Done since 0.20.4 release +- Reduced the size of the PSRenderer output (removed redundant movetos) + Submitted by: Arnd Beißner (see bug #16130) - Fixed many (not all) problems with link hotspot positioning and made the default behavior to create a single hotspot over all words in each line (Karen Lease) diff --git a/src/org/apache/fop/render/ps/PSRenderer.java b/src/org/apache/fop/render/ps/PSRenderer.java index ba60533cd..0d9abeaba 100644 --- a/src/org/apache/fop/render/ps/PSRenderer.java +++ b/src/org/apache/fop/render/ps/PSRenderer.java @@ -334,7 +334,6 @@ public class PSRenderer extends AbstractRenderer { public void renderDisplaySpace(DisplaySpace space) { // write("% --- DisplaySpace size="+space.getSize()); this.currentYPosition -= space.getSize(); - movetoCurrPosition(); } /** @@ -352,7 +351,6 @@ public class PSRenderer extends AbstractRenderer { area.getObject().render(this); this.currentXPosition += area.getEffectiveWidth(); this.currentYPosition -= plOffset; - movetoCurrPosition(); } /** @@ -649,7 +647,6 @@ public class PSRenderer extends AbstractRenderer { } else { drawImageScaled(x, y, w, h, img, area.getFontState()); } - movetoCurrPosition(); } @@ -800,7 +797,6 @@ public class PSRenderer extends AbstractRenderer { int bl = this.currentYPosition; // method is identical to super method except next line - movetoCurrPosition(); String fontWeight = area.getFontState().getFontWeight(); //comment("% --- LineArea begin font-weight="+fontWeight); -- 2.39.5