VLW font problems and ControlP5
in
Contributed Library Questions
•
1 year ago
So, while exporting my app to Windows and Mac platforms, I noticed that vlws made on one platform created errors on the other platform. The fonts that I wanted to use were very specific, and I got one version straight from its creator. It seems to be a high quality font, and made properly. Pseudocode:
-
ControlFont cFont;
- PFont pFont;
- pFont = loadFont("my_font-12.vlw");
- cFont = new ControlFont(pFont);
When the error is triggered, I get a Null Pointer exception on the last line. Again, if I run the app on the same platform that I made the vlws on, no problem. Only when I switch platforms.
What causes this error? Is it the type of font? Is there a way to avoid this error? Is there an ideal format of the source fonts, or a way to validate the vlw file that is created by Processing?
Or, is this an issue with ControlP5?
1