From: amwaterhouse Date: Mon, 12 Dec 2005 12:24:57 +0000 (+0000) Subject: Set font italic X-Git-Tag: Release_2_07~10 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1e1ded4a246bc80e0363fcdfe14bb7233b2d121c;p=jalview.git Set font italic --- diff --git a/src/jalview/appletgui/IdCanvas.java b/src/jalview/appletgui/IdCanvas.java index 9773019..44ba2e0 100755 --- a/src/jalview/appletgui/IdCanvas.java +++ b/src/jalview/appletgui/IdCanvas.java @@ -204,16 +204,15 @@ public class IdCanvas for (int i = starty; i < av.alignment.getHeight(); i++) { SequenceI s = av.alignment.getSequenceAt(i); + gg.setFont(italic); drawIdString(gg, s, i, 0, ypos); } if(labels!=null) { - gg.setFont(av.getFont()); gg.translate(0, ypos+(av.getAlignment().getHeight() * av.charHeight)); labels.drawComponent(gg, getSize().width); gg.translate(0, -ypos-(av.getAlignment().getHeight() * av.charHeight)); - gg.setFont(italic); } }