public void doExport(File file, Component parent, int width, int height,
String imageSource)
{
+ doExport(file, parent, width, height, imageSource, null);
+ }
+
+ public void doExport(File file, Component parent, int width, int height,
+ String imageSource, String renderer)
+ {
final long messageId = System.currentTimeMillis();
setStatus(
MessageManager.formatMessage(
* 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);
+ String renderStyle = renderer == null
+ ? Cache.getDefault(imageType.getName() + "_RENDERING",
+ LineartOptions.PROMPT_EACH_TIME)
+ : renderer;
if (Platform.isJS())
{
renderStyle = "Text";