Gets a list of the fonts installed on the system.
1font_list = py5.Py5Font.list() 2print(font_list)
Gets a list of the fonts installed on the system. The data is returned as a list of strings. This list provides the names of each font for input into create_font(), which allows py5 to dynamically format fonts.
This works outside of a running Sketch.
Underlying Processing method: PFont.list
list() -> list[str]
Updated on March 22, 2022 21:53:01pm UTC