loadFont not finding fonts in data folder
in
Programming Questions
•
2 years ago
Hi,
Processing seems to be unable to load fonts for me at all. Here is my program, in its entirety:
- class Terminal {
- PFont font;
- Terminal() {
- font = loadFont("Serif-48.vlw");
- }
- }
It gives the error "java.lang.RuntimeException: Could not load font Serif-48.vlw. Make sure the font has been copied to the data folder of your sketch."
The problem is, it has been. In fact, I created the font using the "Create Font..." option from the Tools menu.
I'm using Processing 1.5.1 on Mac OS X 10.7.1 with the packaged version of Java (1.6.0_26-b03-383).
1