From 0a20590a673993f11b664bf9d6747d1360ee54b5 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Fri, 2 Feb 2024 11:28:52 +0000 Subject: [PATCH] JAL-4375 I don't think turning off antialiasing is necessary and possibly not appropriate --- src/jalview/renderer/ContactMapRenderer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jalview/renderer/ContactMapRenderer.java b/src/jalview/renderer/ContactMapRenderer.java index 9a295f9..f966e24 100644 --- a/src/jalview/renderer/ContactMapRenderer.java +++ b/src/jalview/renderer/ContactMapRenderer.java @@ -24,7 +24,6 @@ import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; -import java.awt.RenderingHints; import java.awt.Stroke; import jalview.api.AlignViewportI; @@ -162,8 +161,9 @@ public abstract class ContactMapRenderer implements AnnotationRowRendererI return; } Graphics2D g2d = (Graphics2D) g; - g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, - RenderingHints.VALUE_ANTIALIAS_OFF); + // Not sure turning off antialiasing is appropriate here + // g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, + // RenderingHints.VALUE_ANTIALIAS_OFF); g2d.setStroke(thinRectangularLineStroke); while (x < eRes - sRes) { -- 1.7.10.2