From: Chris Bowditch Date: Tue, 29 Dec 2009 13:38:52 +0000 (+0000) Subject: bug with previous commit when rotating by 270 X-Git-Tag: fop-1_0~81 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=547ca3ed7da910ccac84a8c593fee58e50d51f7d;p=xmlgraphics-fop.git bug with previous commit when rotating by 270 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@894384 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/afp/DataStream.java b/src/java/org/apache/fop/afp/DataStream.java index c39e0f77e..110fd2773 100644 --- a/src/java/org/apache/fop/afp/DataStream.java +++ b/src/java/org/apache/fop/afp/DataStream.java @@ -532,7 +532,7 @@ public class DataStream { break; case 270: xOrigin = x; - yOrigin = y - height; + yOrigin = y - width; break; default: xOrigin = x;