JAL-3079 JAL-3055 remember to reset font transform after rendering logo
authorJim Procter <j.procter@dundee.ac.uk>
Fri, 17 Sep 2021 16:39:42 +0000 (17:39 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Fri, 17 Sep 2021 16:39:42 +0000 (17:39 +0100)
src/jalview/renderer/AnnotationRenderer.java

index fa2900d..deb2b6f 100644 (file)
@@ -1516,6 +1516,8 @@ public class AnnotationRenderer
                       .deriveFont(AffineTransform.getScaleInstance(sx, sy));
               g.setFont(font);
               g.drawChars(dc, 0, dc.length, x * charWidth, hght);
+              g.setFont(ofont);
+
               ht += newHeight;
             }
           }