Expand description
Parsing for PostScript DICTs.
Structsยง
- BcdComponents
- Components for computing a fixed point value for a binary coded decimal number.
- Blues
- Operand for the
BlueValues
,OtherBlues
,FamilyBlues
andFamilyOtherBlues
operators. - Stem
Snaps - Operand for the
StemSnapH
andStemSnapV
operators.
Enumsยง
- Entry
- PostScript DICT Operator with its associated operands.
- Operator
- PostScript DICT operator.
- Token
- Either a PostScript DICT operator or a (numeric) operand.
Constantsยง
- BCD_
INTEGER_ ๐LIMIT - BCD_
NUMBER_ ๐LIMIT - BCD_
OVERFLOW ๐ - BCD_
POWER_ ๐TENS - BCD_
UNDERFLOW ๐ - MAX_
BLUE_ ๐VALUES - https://gitlab.freedesktop.org/freetype/freetype/-/blob/80a507a6b8e3d2906ad2c8ba69329bd2fb2a85ef/src/psaux/psblues.h#L141
- MAX_
STEM_ ๐SNAPS - Summary: older PostScript interpreters accept two values, but newer ones accept 12. Weโll assume that as maximum. https://adobe-type-tools.github.io/font-tech-notes/pdfs/5049.StemSnap.pdf
Functionsยง
- entries
- Given a byte slice containing DICT data, returns an iterator yielding each operator with its associated operands.
- is_
degenerate ๐ - Check for a degenerate matrix. See https://gitlab.freedesktop.org/freetype/freetype/-/blob/f1cd6dbfa0c98f352b698448f40ac27e8fb3832e/src/base/ftcalc.c#L725
- parse_
entry ๐ - parse_
fixed_ ๐dynamic - Parse a fixed point value with a dynamic scaling factor.
- parse_
font_ ๐matrix - Parses a font matrix using dynamic scaling factors.
- parse_
int ๐ - parse_
token ๐ - tokens
- Given a byte slice containing DICT data, returns an iterator yielding raw operands and operators.