mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
clean up the last of the font/pdf fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
+6
-4
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user