tweak for create font tool, fix the java < 1.3 error message, better

Capture error message
This commit is contained in:
benfry
2005-06-07 03:59:19 +00:00
parent 46dedc0351
commit 04e2abe715
5 changed files with 81 additions and 34 deletions
+1 -1
View File
@@ -412,7 +412,7 @@ public class CreateFont extends JFrame {
try {
Font instance = (Font) table.get(list[selection]);
font = instance.deriveFont(Font.PLAIN, fontsize);
PFont f = new PFont(font, all ? null : PFont.DEFAULT_CHARSET, smooth);
PFont f = new PFont(font, smooth, all ? null : PFont.DEFAULT_CHARSET);
// make sure the 'data' folder exists
if (!targetFolder.exists()) targetFolder.mkdirs();