font provides a window manager mixin for loading fonts:
Font provides two functions for loading fonts:
Returns the font object corresponding to fontname. If
fontname doesn't match any font, attemt to return the font named
default instead, if
default is provided. If no font can be
FontError is raised.
Return the font object corresponding to the X resource identified by
WindowManager.rdb_get is used
to lookup the resource, so the first components of the name and class
should be omitted and they should start with `.'.
If this resource isn't found or doesn't match any font, attempt to return the font named default instead, if default is provided.
If no font can be found, FontError is raised
Go to the first, previous, next, last section, table of contents.