From: gmungoc Date: Mon, 6 May 2019 08:23:18 +0000 (+0100) Subject: JAL-3239 release note X-Git-Tag: Release_2_11_0~15^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a2e4ac80901a9399123b47c2db988404bd835ce2;p=jalview.git JAL-3239 release note --- 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) {