mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
fixing several font issues.. PFont2 now works properly..
This commit is contained in:
@@ -1428,10 +1428,10 @@ public class PApplet extends Applet
|
||||
System.out.flush();
|
||||
}
|
||||
|
||||
//static public void println(Object what[]) {
|
||||
//for (int i = 0; i < what.length; i++) System.out.println(what[i]);
|
||||
//System.out.flush();
|
||||
//}
|
||||
static public void printarr(Object what[]) {
|
||||
for (int i = 0; i < what.length; i++) System.out.println(what[i]);
|
||||
System.out.flush();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -2190,6 +2190,13 @@ public class PApplet extends Applet
|
||||
|
||||
} catch (Exception e) { } // ignored
|
||||
|
||||
try {
|
||||
File file = new File(folder, filename);
|
||||
stream = new FileInputStream(file);
|
||||
if (stream != null) return stream;
|
||||
|
||||
} catch (Exception e) { } // ignored
|
||||
|
||||
try {
|
||||
stream = new FileInputStream(new File("data", filename));
|
||||
if (stream != null) return stream;
|
||||
|
||||
Reference in New Issue
Block a user