diff --git a/app/src/processing/app/tools/CreateFont.java b/app/src/processing/app/tools/CreateFont.java index 4ded017e7..217af0bfa 100644 --- a/app/src/processing/app/tools/CreateFont.java +++ b/app/src/processing/app/tools/CreateFont.java @@ -114,7 +114,6 @@ public class CreateFont extends JFrame implements Tool { // getFontList is deprecated in 1.4, so this has to be used GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); - Font fonts[] = ge.getAllFonts(); if (false) { @@ -159,6 +158,11 @@ public class CreateFont extends JFrame implements Tool { try { flist[index++] = fonts[i].getPSName(); table.put(fonts[i].getPSName(), fonts[i]); + // Checking into http://processing.org/bugs/bugzilla/407.html + // and https://github.com/processing/processing/issues/1727 +// if (fonts[i].getPSName().contains("Helv")) { +// System.out.println(fonts[i].getPSName() + " -> " + fonts[i]); +// } } catch (Exception e) { // Sometimes fonts cause lots of trouble. // http://code.google.com/p/processing/issues/detail?id=442 @@ -309,7 +313,8 @@ public class CreateFont extends JFrame implements Tool { if ((fontsize > 0) && (fontsize < 256) && (selection != -1)) { //font = new Font(list[selection], Font.PLAIN, fontsize); Font instance = table.get(list[selection]); - font = instance.deriveFont(Font.PLAIN, fontsize); +// font = instance.deriveFont(Font.PLAIN, fontsize); + font = instance.deriveFont((float) fontsize); //System.out.println("setting font to " + font); sample.setFont(font); diff --git a/core/todo.txt b/core/todo.txt index 7b83c735c..711a40fe4 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -22,6 +22,8 @@ _ https://github.com/processing/processing/issues/1730 _ Linux sometimes not responding correctly w/ the size() command _ https://github.com/processing/processing/issues/1672 +_ image memory issue was huge, need to close that one + data X are we comfortable with setInt/Float/etc instead of just set(int, blah) X yes, better to have parity