Expand description
Type 1 charstring interpreter.
Decrypts and executes Type 1 charstring opcodes to produce path segments and glyph width information.
Structs§
- Charstring
Result - Result of executing a charstring: the glyph path and advance width.
Functions§
- decrypt_
charstring - Decrypt a charstring using the Type 1 charstring cipher (R=4330).
Skips the first
len_ivrandom bytes. - execute_
charstring - Execute a Type 1 charstring and produce path segments + width.
- execute_
charstring_ ex - Execute a Type 1 charstring with optional charstring lookup for seac support.
- execute_
charstring_ mm - Execute a Type 1 charstring with Multiple Master weight vector support.
- execute_
charstring_ with_ offset - Execute a charstring for seac (accent composition), applying an offset.
- execute_
charstring_ with_ offset_ mm - Execute a charstring for seac with MM weight vector support.
Type Aliases§
- Charstring
Lookup - Charstring lookup function for seac composite character support. Maps glyph name (bytes) to encrypted charstring bytes.