From 00545e0983b8b045a203075c2fc56e287f1161c9 Mon Sep 17 00:00:00 2001 From: Doublestrike Date: Mon, 16 Jan 2012 01:28:33 +0000 Subject: [PATCH] Small update to FSkin font derivations. --- src/main/java/forge/view/toolbox/FSkin.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/forge/view/toolbox/FSkin.java b/src/main/java/forge/view/toolbox/FSkin.java index c0e5af5cbd1..51241af0c32 100644 --- a/src/main/java/forge/view/toolbox/FSkin.java +++ b/src/main/java/forge/view/toolbox/FSkin.java @@ -292,7 +292,7 @@ public class FSkin { */ public Font getFont(int size) { if (plainFonts.get(size) == null) { - System.out.println("FSkin: A plain font of size " + size + " hasn't been derived yet."); + plainFonts.put(size, getFont().deriveFont(Font.PLAIN, size)); } return plainFonts.get(size); } @@ -303,7 +303,7 @@ public class FSkin { */ public Font getBoldFont(int size) { if (boldFonts.get(size) == null) { - System.out.println("FSkin: A bold font of size " + size + " hasn't been derived yet."); + boldFonts.put(size, getFont().deriveFont(Font.BOLD, size)); } return boldFonts.get(size); } @@ -314,7 +314,7 @@ public class FSkin { */ public Font getItalicFont(int size) { if (boldFonts.get(size) == null) { - System.out.println("FSkin: An italic font of size " + size + " hasn't been derived yet."); + italicFonts.put(size, getFont().deriveFont(Font.ITALIC, size)); } return italicFonts.get(size); }