Expand description
Type1 fonts.
StructsΒ§
- Charstring
Entry π - Charstrings π
- Collection of charstrings.
- Encoding
- Associates character codes with glyph names and ids.
- Master
Axis - One axis of a multiple master font.
- Multiple
Master - The design space of a multiple master font.
- Parser π
- RawBlend π
- The blend dictionaries of a font as they are read, before they are checked against each other.
- RawDicts π
- Raw dictionary data for a Type1 font.
- Subrs π
- Collection of subroutines.
- Type1
Font - A Type1 font.
- Type1
Instance - A Type 1 font drawn with a given blend of its masters.
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.
- MAX_
MAP_ πPOINTS - The most points in the design map of one axis.
- MAX_
MASTERS π - The most masters a multiple master font can have.
- MAX_
MASTER_ πAXES - The most axes a multiple master font can have.
- 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_
name π - Preserve valid UTF-8 names; otherwise decode each source byte as Latin-1.
- 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 π - mul_
div_ πwide - Returns
a * b / c, rounded asFixed::mul_divrounds, without overflowing on the way. - round_
fixed π - Rounds to a whole unit, halves away from zero, as FreeTypeβs
FT_RoundFixdoes. - saturate π
- Clamps
valueto the range of ani32. - verify_
header π