3.1.3.7. PkFontParser

The PkFontParser module provides a tool to parse Packet Font files. PK files contain device dependent bitmap fonts. They have the ”.pk” extension.

class PyDvi.Font.PkFontParser.PkFontParser(pk_font)[source]

Bases: object

_process_file()[source]

Process the characters.

_process_preambule()[source]

Process the preamble.

_read_char_definition(flag)[source]
opcode_parser_set
static parse(pk_font)[source]
class PyDvi.Font.PkFontParser.OpcodeParser_xxx(opcode)[source]

Bases: PyDvi.OpcodeParser.OpcodeParser

base_opcode = 240
read_parameters(pk_font_parser)[source]

Previous topic

3.1.3.6. PkFont

Next topic

3.1.3.8. PkGlyph

This Page