]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Slight improvement for thin lines in Java2D/AWT output.
authorJeremias Maerki <jeremias@apache.org>
Thu, 28 Feb 2008 14:30:46 +0000 (14:30 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 28 Feb 2008 14:30:46 +0000 (14:30 +0000)
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

src/java/org/apache/fop/render/java2d/Java2DRenderer.java
status.xml

index 8442af229b2e964bfb796e42852a207bef1035c5..583d2ad2f550c4b4a4d06851ada23c4117ad69eb 100644 (file)
@@ -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();
index 34a35ef2a4fd3accfd4d1388d085dea4ef839d87..197d599b45254e92a305d4d1138eb83364de3689 100644 (file)
@@ -33,6 +33,9 @@
         Added SVG support for AFP (GOCA).
         </action>
       -->
+      <action context="Renderers" dev="JM" type="fix" due-to="Gordon Cooke">
+        Slight improvement for thin lines in Java2D/AWT output.
+      </action>
       <action context="Layout" dev="VH" type="add">
         Added full support for keep-with-previous on fo:table-row and in fo:table-cell elements.
       </action>