From: Ben Soares Date: Fri, 2 Feb 2024 11:28:52 +0000 (+0000) Subject: JAL-4375 I don't think turning off antialiasing is necessary and possibly not appropriate X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0a20590a673993f11b664bf9d6747d1360ee54b5;p=jalview.git JAL-4375 I don't think turning off antialiasing is necessary and possibly not appropriate --- 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) {