From: Jeremias Maerki Date: Thu, 28 Feb 2008 14:30:46 +0000 (+0000) Subject: Slight improvement for thin lines in Java2D/AWT output. X-Git-Tag: fop-0_95beta~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=231ae62167277c098408884a611741895e49c16d;p=xmlgraphics-fop.git Slight improvement for thin lines in Java2D/AWT output. Submitted by: Gordon Cooke git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631984 13f79535-47bb-0310-9956-ffa450edef68 --- 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(); diff --git a/status.xml b/status.xml index 34a35ef2a..197d599b4 100644 --- a/status.xml +++ b/status.xml @@ -33,6 +33,9 @@ Added SVG support for AFP (GOCA). --> + + Slight improvement for thin lines in Java2D/AWT output. + Added full support for keep-with-previous on fo:table-row and in fo:table-cell elements.