textToPixels() is a method from class p5.Font.
So we need loadFont() in order to get a p5.Font.
For that we need to find out the actual URL for a font’s file.
1 Like
textToPixels() is a method from class p5.Font.
So we need loadFont() in order to get a p5.Font.
For that we need to find out the actual URL for a font’s file.