From a2e4ac80901a9399123b47c2db988404bd835ce2 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 6 May 2019 09:23:18 +0100 Subject: [PATCH] JAL-3239 release note --- help/help/html/releases.html | 2 ++ src/jalview/gui/SequenceRenderer.java | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/help/help/html/releases.html b/help/help/html/releases.html index b468f68..9c75553 100755 --- a/help/help/html/releases.html +++ b/help/help/html/releases.html @@ -167,6 +167,8 @@ li:before {
  • 'View [Structure] Mappings' and structure superposition in Jmol fail on Windows
  • + Text misaligned in EPS or SVG image export with monospaced font
  • +
  • Warning of 'Duplicate entry' when saving Jalview project involving multiple views
  • diff --git a/src/jalview/gui/SequenceRenderer.java b/src/jalview/gui/SequenceRenderer.java index 39c1ba7..fb967ed 100755 --- a/src/jalview/gui/SequenceRenderer.java +++ b/src/jalview/gui/SequenceRenderer.java @@ -259,6 +259,11 @@ public class SequenceRenderer implements jalview.api.SequenceRenderer boolean drawAllText = monospacedFont && av.getShowText() && allGroups.length == 0 && !av.getColourText() && av.getThresholdTextColour() == 0; + + /* + * EPS or SVG misaligns monospaced strings (JAL-3239) + * so always draw these one character at a time + */ if (graphics instanceof EpsGraphics2D || graphics instanceof SVGGraphics2D) { -- 1.7.10.2