| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3094,11 +3094,11 @@ public float textDescent() { | |||
| 3094 | 3094 | public void textFont(PFont which) { | |
| 3095 | 3095 | if (which != null) { | |
| 3096 | 3096 | textFont = which; | |
| 3097 | - // if (hints[ENABLE_NATIVE_FONTS]) { | ||
| 3098 | - // //if (which.font == null) { | ||
| 3099 | - // which.findFont(); | ||
| 3100 | - // //} | ||
| 3101 | - // } | ||
| 3097 | + if (hints[ENABLE_NATIVE_FONTS]) { | ||
| 3098 | + //if (which.font == null) { | ||
| 3099 | + which.findFont(); | ||
| 3100 | + //} | ||
| 3101 | + } | ||
| 3102 | 3102 | /* | |
| 3103 | 3103 | textFontNative = which.font; | |
| 3104 | 3104 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,11 +6,13 @@ X http://code.google.com/p/processing/issues/detail?id=42 | |||
| 6 | 6 | X textAlign() incorrect with default font on Mac OS X 10.6 | |
| 7 | 7 | X http://code.google.com/p/processing/issues/detail?id=362 | |
| 8 | 8 | X changed default font to Lucida Sans, available on all platforms | |
| 9 | + X need to finish font changes wrt native fonts before any release | ||
| 10 | + X right now not in a good place--default font will be bitmapped and ugly | ||
| 11 | + X http://code.google.com/p/processing/issues/detail?id=416 | ||
| 12 | + o need to have some kind of subsetting mode, but 'subsetting' a bad name | ||
| 9 | 13 | ||
| 10 | - _ need to finish font changes wrt native fonts before any release | ||
| 11 | - _ right now not in a good place--default font will be bitmapped and ugly | ||
| 12 | - _ http://code.google.com/p/processing/issues/detail?id=416 | ||
| 13 | - _ need to have some kind of subsetting mode, but 'subsetting' a bad name | ||
| 14 | + _ make sure that loadXxxx() methods are used after init() | ||
| 15 | + _ nasty errors when loadImage/Font/createFont/etc used outside | ||
| 14 | 16 | ||
| 15 | 17 | _ selectInput() and selectOutput() freeze on OS X | |
| 16 | 18 | _ http://code.google.com/p/processing/issues/detail?id=445 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -62,7 +62,10 @@ public class PGraphicsPDF extends PGraphicsJava2D { | |||
| 62 | 62 | static protected String fontList[]; | |
| 63 | 63 | ||
| 64 | 64 | ||
| 65 | - public PGraphicsPDF() { } | ||
| 65 | + public PGraphicsPDF() { | ||
| 66 | + // PDF always likes native fonts. Always. | ||
| 67 | + hint(ENABLE_NATIVE_FONTS); | ||
| 68 | + } | ||
| 66 | 69 | ||
| 67 | 70 | ||
| 68 | 71 | public void setPath(String path) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments