diff options
Diffstat (limited to 'src/java/org/apache/fop/render/intermediate')
-rw-r--r-- | src/java/org/apache/fop/render/intermediate/IFRenderer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/intermediate/IFRenderer.java b/src/java/org/apache/fop/render/intermediate/IFRenderer.java index 1ea3f9592..fa6013a52 100644 --- a/src/java/org/apache/fop/render/intermediate/IFRenderer.java +++ b/src/java/org/apache/fop/render/intermediate/IFRenderer.java @@ -1060,7 +1060,7 @@ public class IFRenderer extends AbstractPathOrientedRenderer { } private int toMillipoints(float coordinate) { - return (int)(coordinate * 1000); + return Math.round(coordinate * 1000); } private Rectangle toMillipointRectangle(float x, float y, float width, float height) { |