From 968f580cc3b1d0ccd16cc00bacce27829b3d694b Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 17 Sep 2021 17:39:42 +0100 Subject: [PATCH] JAL-3079 JAL-3055 remember to reset font transform after rendering logo --- src/jalview/renderer/AnnotationRenderer.java | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- 1.7.10.2