We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I saw the java method :
String[] fontList = PFont.list(); printArray(fontList);
But what is the method in python for discovering the font names?
Answers
and how to "use the font" in the setup function as well, sorry I forgot that part
Nevermind, I figured it out.
def setup(): size(300, 300)
def draw(): Font1= createFont("Agency FB Bold", 100) textFont(Font1) text("MAX", 30, 100)
`def setup(): size(300, 300)
def draw(): Font1= createFont("Agency FB Bold", 100) textFont(Font1) text("MAX", 30, 100)`
Callback draw() isn't appropriate to acquire any resources b/c it's slow! [-X
And Python Mode has access to anything Java Mode can! \m/