diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-11-05 16:31:40 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-11-05 16:31:40 +0000 |
commit | 9d9f0a0b7e59132ec2c1c1f1ce2c63594f4219df (patch) | |
tree | 664a1b782be0b6aace0a8f3c967ff2fd7baaa4cc /src/java/org | |
parent | 0fea0e4a63301db5d1c235c28972562d1c5a80cc (diff) | |
download | xmlgraphics-fop-9d9f0a0b7e59132ec2c1c1f1ce2c63594f4219df.tar.gz xmlgraphics-fop-9d9f0a0b7e59132ec2c1c1f1ce2c63594f4219df.zip |
Reduced the dashed border ratio to make it more aesthetically pleasing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1405867 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/fop/render/intermediate/BorderPainter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/intermediate/BorderPainter.java b/src/java/org/apache/fop/render/intermediate/BorderPainter.java index d63c4534b..3653dd1f3 100644 --- a/src/java/org/apache/fop/render/intermediate/BorderPainter.java +++ b/src/java/org/apache/fop/render/intermediate/BorderPainter.java @@ -58,8 +58,8 @@ public class BorderPainter { /** The ratio between a solid dash and the white-space in a dashed-border */ public static final float DASHED_BORDER_SPACE_RATIO = 0.5f; - /** The length of the dash as a factor of the border width i.e. 4 -> dashWidth = 4*borderWidth */ - protected static final float DASHED_BORDER_LENGTH_FACTOR = 4.0f; + /** The length of the dash as a factor of the border width i.e. 2 -> dashWidth = 2*borderWidth */ + protected static final float DASHED_BORDER_LENGTH_FACTOR = 2.0f; private final GraphicsPainter graphicsPainter; |