From: Jim Procter Date: Fri, 17 Sep 2021 16:39:42 +0000 (+0100) Subject: JAL-3079 JAL-3055 remember to reset font transform after rendering logo X-Git-Tag: Release_2_11_2_0~34^2~9 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=968f580cc3b1d0ccd16cc00bacce27829b3d694b;p=jalview.git JAL-3079 JAL-3055 remember to reset font transform after rendering logo --- diff --git a/src/jalview/renderer/AnnotationRenderer.java b/src/jalview/renderer/AnnotationRenderer.java index fa2900d..deb2b6f 100644 --- a/src/jalview/renderer/AnnotationRenderer.java +++ b/src/jalview/renderer/AnnotationRenderer.java @@ -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; } }