From ee409dd34f8aff73c4b2b7d425e1154add8e2142 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Thu, 26 May 2016 16:11:40 +0100 Subject: [PATCH] JAL-1911 bugfix - do not save i18n text in preference file --- src/jalview/io/HtmlSvgOutput.java | 3 +-- src/jalview/util/ImageMaker.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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); -- 1.7.10.2