mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
mostly font work, making multibyte fonts happen
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user