I used tools, create fonts option from menu to create font , the system created data folder with the font file name. the code is below. What am I missing?
/
PFont font1;
void setup(){
size(500,500);
font1=loadFont(“ARBERKLEY-48”);
}
void draw(){
background(255);
textFont(font1,24);
fill(0);
textAlign(LEFT);
text(“what you want to say”, 250,250);
}
/
error on console:
IllegalArgumentException: loadFont() is for .vlw files, try createFont()