mostly font work, making multibyte fonts happen

This commit is contained in:
benfry
2004-07-17 03:49:47 +00:00
parent e121d0a4c7
commit 8b67720edf
11 changed files with 277 additions and 213 deletions

View File

@@ -1679,6 +1679,7 @@ public class PApplet extends Applet
//} catch (IOException e) {
} catch (Exception e) {
e.printStackTrace();
System.err.println("Could not load font " + filename);
System.err.println("Make sure that the font has been copied");
System.err.println("to the data folder of your sketch.");
@@ -3442,6 +3443,16 @@ public class PApplet extends Applet
}
public void text(String s, float x, float y, float w, float h) {
g.text(s, x, y, w, h);
}
public void text(String s, float x, float y, float z, float w, float h) {
g.text(s, x, y, z, w, h);
}
public void text(int num, float x, float y) {
g.text(num, x, y);
}