fixing several font issues.. PFont2 now works properly..

This commit is contained in:
benfry
2004-09-29 06:06:51 +00:00
parent 0357f4458b
commit 419b204a99
5 changed files with 129 additions and 132 deletions

View File

@@ -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;