Expand description
A CFF and Type1 font parser.
This crate is a fork of the ttf-parser library,
but with the majority of the functionality completely stripped away.
The purpose of this crate is to be a light-weight font parser for CFF and Type1 fonts,
as they can be found in PDFs. Only the code for parsing CFF fonts has been retained, while code
for parsing Type1 fonts was newly added.
Note that this is an internal crate and not meant to be used directly. Therefore, it’s not well-documented.
Modules§
- cff
- A Compact Font Format Table implementation.
- type1
- Reading Type1 fonts.
Structs§
- GlyphId
- A type-safe wrapper for glyph ID.
- Matrix
- An affine transformation matrix.
- Rect
- A rectangle.
- RectF
- A rectangle described by the left-lower and upper-right points.
Enums§
- Outline
Error - A list of errors that can occur during CFF/Type1 glyph outlining.
Traits§
- Outline
Builder - A trait for glyph outline construction.