/*
* Prompt for Text or Lineart (EPS/SVG) unless a preference is already set
* for this as EPS_RENDERING / SVG_RENDERING
+ * Always set to Text for JalviewJS as Lineart (glyph fonts) not available
*/
String renderStyle = Cache.getDefault(
imageType.getName() + "_RENDERING",
LineartOptions.PROMPT_EACH_TIME);
+ if (Jalview.isJS())
+ {
+ renderStyle = "Text";
+ }
AtomicBoolean textSelected = new AtomicBoolean(
!"Lineart".equals(renderStyle));
if ((imageType == TYPE.EPS || imageType == TYPE.SVG)