Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/webgl/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ function text(p5, fn) {

if (!p5.Font.hasGlyphData(this.states.textFont)) {
console.log(
'WEBGL: only Opentype (.otf) and Truetype (.ttf) fonts with glyph data are supported'
'WEBGL: only Opentype (.otf) and Truetype (.ttf) fonts with glyph data are supported. Make sure to set the font using textFont() before drawing text.'
);
return;
}
Expand Down
Loading