JAL-4375 This extra clip isn't necessary
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 7 Feb 2024 14:20:39 +0000 (14:20 +0000)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 7 Feb 2024 14:20:39 +0000 (14:20 +0000)
src/jalview/renderer/AnnotationRenderer.java

index 734e33c..0da5603 100644 (file)
@@ -683,6 +683,7 @@ public class AnnotationRenderer
         // flag used for vector rendition
         this.glyphLineDrawn = false;
         x = (startRes == 0) ? 0 : -1;
+
         while (x < endRes - startRes)
         {
           if (hasHiddenColumns)
@@ -785,11 +786,6 @@ public class AnnotationRenderer
                * translate to drawing position _before_ applying any scaling
                */
               g2dCopy.translate(xPos, yPos);
-              // narrow the clipping rectangle to the size of a character square
-              // or the character width
-              g2dCopy.clipRect(0, 0 - charHeight,
-                      (int) Math.ceil(Math.max(charWidth, fmWidth)),
-                      charHeight);
               if (scaledToFit)
               {
                 /*