Bases: PyDvi.Font.Font.Font
This class implements the packed font type in the font manager.
To create a packed font instance use:
font = PkFont(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. The packed font file is parsed using a PyDvi.PkFontParser.PkFontParser instance.
Find the font file location in the system using Kpathsea and build if it is not already done.
Set the preambule data from the Packed Font Parser.