We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de8d7ac + 21bd161 commit 7d6153bCopy full SHA for 7d6153b
1 file changed
src/webgl/text.js
@@ -685,7 +685,7 @@ function text(p5, fn) {
685
686
if (!p5.Font.hasGlyphData(this.states.textFont)) {
687
console.log(
688
- '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.'
689
);
690
return;
691
}
0 commit comments