Return a list of all open fonts. Optinally sort options can be provided. see FontList
Open a new font. Optionally a familyName and styleName can be provided. Optionally showInterface can be toggle on/off.
Open a font with a given path. If no path is given a get file dialog will pop up. Optionally showInterface can be toggle on/off.
Open window and control if that window is not openend twice.
True when the window is already opened.
False if a new instance of the window is opened.
Create a cursor from a path or an NSImage. Optional a hotSpot x, y tuple can be provided.
list() -> new empty list list(iterable) -> new list initialized from iterable’s items
Get a specific font with a given family and style name.
Sort the font list by font info attribute(s).
aFontsList.sortBy(sortOptions=["familyName", "styleName"], reversed=False, useDefault=True)
Optionally a custom function can be provided to sort the fonts.
Or register a binding in
The sortByFunction should take an font as argument and return a bool, int, float or str.
isItalic is already an optionally sorting option.