diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java index 868adfa3f..1a7ff5c3f 100644 --- a/core/src/processing/core/PGraphics.java +++ b/core/src/processing/core/PGraphics.java @@ -3094,11 +3094,11 @@ public class PGraphics extends PImage implements PConstants { public void textFont(PFont which) { if (which != null) { textFont = which; -// if (hints[ENABLE_NATIVE_FONTS]) { -// //if (which.font == null) { -// which.findFont(); -// //} -// } + if (hints[ENABLE_NATIVE_FONTS]) { + //if (which.font == null) { + which.findFont(); + //} + } /* textFontNative = which.font; diff --git a/core/todo.txt b/core/todo.txt index 006d51538..e9640a692 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -6,11 +6,13 @@ X http://code.google.com/p/processing/issues/detail?id=42 X textAlign() incorrect with default font on Mac OS X 10.6 X http://code.google.com/p/processing/issues/detail?id=362 X changed default font to Lucida Sans, available on all platforms +X need to finish font changes wrt native fonts before any release +X right now not in a good place--default font will be bitmapped and ugly +X http://code.google.com/p/processing/issues/detail?id=416 +o need to have some kind of subsetting mode, but 'subsetting' a bad name -_ need to finish font changes wrt native fonts before any release -_ right now not in a good place--default font will be bitmapped and ugly -_ http://code.google.com/p/processing/issues/detail?id=416 -_ need to have some kind of subsetting mode, but 'subsetting' a bad name +_ make sure that loadXxxx() methods are used after init() +_ nasty errors when loadImage/Font/createFont/etc used outside _ selectInput() and selectOutput() freeze on OS X _ http://code.google.com/p/processing/issues/detail?id=445 diff --git a/java/libraries/pdf/src/processing/pdf/PGraphicsPDF.java b/java/libraries/pdf/src/processing/pdf/PGraphicsPDF.java index a544ee9eb..dda66444f 100644 --- a/java/libraries/pdf/src/processing/pdf/PGraphicsPDF.java +++ b/java/libraries/pdf/src/processing/pdf/PGraphicsPDF.java @@ -62,7 +62,10 @@ public class PGraphicsPDF extends PGraphicsJava2D { static protected String fontList[]; - public PGraphicsPDF() { } + public PGraphicsPDF() { + // PDF always likes native fonts. Always. + hint(ENABLE_NATIVE_FONTS); + } public void setPath(String path) {