This module provides a base class for font type managed by the font manager.
Bases: object
This class is a base class for font managed by the Font Manager.
Class attributes to be defined in subclass:
- font_type
- font type enumerate
- font_type_string
- description of the font type
- extension
- file extension
To create a Font instance use:
font = Font(font_manager, font_id, name)
where font_manager is a PyDvi.FontManager.FontManager instance, font_id is the font id provided by the font manager and name is the font name, “cmr10” for example.
Find the font file location in the system using Kpathsea.
Font Type Enumerate
alias of FontTypes