import java.awt.FontMetrics;
import java.awt.Graphics;
-import org.jfree.graphics2d.svg.SVGGraphics2D;
-import org.jibble.epsgraphics.EpsGraphics2D;
-
public class SequenceRenderer implements jalview.api.SequenceRenderer
{
final static int CHAR_TO_UPPER = 'A' - 'a';
}
graphics.setColor(av.getTextColour());
- 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)
- {
- drawAllText = false;
- }
- if (drawAllText)
+ if (monospacedFont && av.getShowText() && allGroups.length == 0
+ && !av.getColourText() && av.getThresholdTextColour() == 0)
{
if (av.isRenderGaps())
{