From: tcofoegbu Date: Thu, 26 May 2016 15:11:40 +0000 (+0100) Subject: JAL-1911 bugfix - do not save i18n text in preference file X-Git-Tag: Release_2_10_0~215 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ee409dd34f8aff73c4b2b7d425e1154add8e2142;p=jalview.git JAL-1911 bugfix - do not save i18n text in preference file --- diff --git a/src/jalview/io/HtmlSvgOutput.java b/src/jalview/io/HtmlSvgOutput.java index 3bd175b..00af242 100644 --- a/src/jalview/io/HtmlSvgOutput.java +++ b/src/jalview/io/HtmlSvgOutput.java @@ -124,8 +124,7 @@ public class HtmlSvgOutput } } - if (renderStyle.equalsIgnoreCase(MessageManager - .getString("label.lineart"))) + if (renderStyle.equalsIgnoreCase("Lineart")) { g1.setRenderingHint(SVGHints.KEY_DRAW_STRING_TYPE, SVGHints.VALUE_DRAW_STRING_TYPE_VECTOR); diff --git a/src/jalview/util/ImageMaker.java b/src/jalview/util/ImageMaker.java index 9bc732b..72fa605 100755 --- a/src/jalview/util/ImageMaker.java +++ b/src/jalview/util/ImageMaker.java @@ -272,8 +272,7 @@ MessageManager.formatMessage( } } - if (renderStyle.equalsIgnoreCase(MessageManager - .getString("label.lineart"))) + if (renderStyle.equalsIgnoreCase("Lineart")) { ig2.setRenderingHint(SVGHints.KEY_DRAW_STRING_TYPE, SVGHints.VALUE_DRAW_STRING_TYPE_VECTOR);