Error message when using PFont

Have you tried just to load the TTF/OTF font file directly (no Create Font step required)? Place the TTF/OTF in the sketch’s data sub-folder, and use some code like this –

def setup():
    size(1600, 900)
    headerFont = createFont(′BlackBubbleFont.ttf′, 20)
2 Likes