mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
tweak for create font tool, fix the java < 1.3 error message, better
Capture error message
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user