Monospaced font not allowed if charWidth stretched
authoramwaterhouse <Andrew Waterhouse>
Mon, 15 May 2006 14:52:51 +0000 (14:52 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 15 May 2006 14:52:51 +0000 (14:52 +0000)
src/jalview/gui/SequenceRenderer.java

index f41a0b9..a8a9a47 100755 (executable)
@@ -67,7 +67,7 @@ public class SequenceRenderer
 \r
         monospacedFont =\r
                dwidth == fm.getStringBounds("|",g).getWidth()\r
-               && dwidth == (int)dwidth;\r
+               && av.charWidth == (int)dwidth;\r
 \r
         this.renderGaps = renderGaps;\r
     }\r