Expand description
Type1 fonts.
Structsยง
- Charstring
Entry ๐ - Charstrings ๐
- Collection of charstrings.
- Encoding
- Associates character codes with glyph names and ids.
- Parser ๐
- RawDicts ๐
- Raw dictionary data for a Type1 font.
- Subrs ๐
- Collection of subroutines.
- Type1
Font - A Type1 font.
Enumsยง
- RawEncoding ๐
- Encoding that maps characters to glyph identifiers.
- Token ๐
Constantsยง
- CHARSTRING_
SEED ๐ - Decryption seed for charstring (and subroutine) data.
- EEXEC_
SEED ๐ - Decryption seed for eexec segment.
- NOTDEF_
GLYPH ๐ - Simulated .notdef glyph, same as FreeType:
- PFB_
BINARY_ ๐SEGMENT_ TAG - PFB_
TEXT_ ๐SEGMENT_ TAG
Functionsยง
- decode_
fixed ๐ - Decode a fixed point value, scaling to a specific power of ten.
- decode_
hex ๐ - Converts hex formatted data to associated bytes.
- decode_
int ๐ - Decode an integer, optionally with a base.
- decode_
int_ ๐prefix - Decode an integer at the given position, returning the value and the index of the position following the decoded integer.
- decode_
pfb_ ๐binary_ segments - Returns an iterator over the sequence of PFB binary segments.
- decode_
pfb_ ๐tag - Returns the PFB tag and segment size.
- decrypt ๐
- Returns an iterator yielding the decrypted bytes.
- find_
eexec_ ๐data - Helper to find the position of the data following the โeexecโ token.
- is_
special ๐ - Characters that always delimit tokens.
- is_
special_ ๐or_ whitespace - is_
whitespace ๐ - verify_
header ๐