aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-02-28 14:30:46 +0000
committerJeremias Maerki <jeremias@apache.org>2008-02-28 14:30:46 +0000
commit231ae62167277c098408884a611741895e49c16d (patch)
treef683d07a1d6fd27485e6f4b94661ff3e48fb88d9 /src/java/org/apache
parent239800ae6ce64a1fec424cccacc2f34f90ec7942 (diff)
downloadxmlgraphics-fop-231ae62167277c098408884a611741895e49c16d.tar.gz
xmlgraphics-fop-231ae62167277c098408884a611741895e49c16d.zip
Slight improvement for thin lines in Java2D/AWT output.
Submitted by: Gordon Cooke <cookeg.at.btinternet.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631984 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r--src/java/org/apache/fop/render/java2d/Java2DRenderer.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/java2d/Java2DRenderer.java b/src/java/org/apache/fop/render/java2d/Java2DRenderer.java
index 8442af229..583d2ad2f 100644
--- a/src/java/org/apache/fop/render/java2d/Java2DRenderer.java
+++ b/src/java/org/apache/fop/render/java2d/Java2DRenderer.java
@@ -312,6 +312,8 @@ public abstract class Java2DRenderer extends AbstractPathOrientedRenderer implem
graphics.setRenderingHint(RenderingHints.KEY_RENDERING,
RenderingHints.VALUE_RENDER_QUALITY);
}
+ graphics.setRenderingHint(RenderingHints.KEY_STROKE_CONTROL,
+ RenderingHints.VALUE_STROKE_PURE);
// transform page based on scale factor supplied
AffineTransform at = graphics.getTransform();