Skip to content

Commit 9ddcc03

Browse files
committed
Update textFont.xml
1 parent e349efa commit 9ddcc03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/api_en/textFont.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
PFont mono;
1515
// The font "andalemo.ttf" must be located in the
1616
// current sketch's "data" directory to load successfully
17-
mono = loadFont("andalemo.ttf", 32);
17+
mono = createFont("andalemo.ttf", 32);
1818
background(0);
1919
textFont(mono);
2020
text("word", 12, 60);

0 commit comments

Comments
 (0)