Expand description
A robust, ergonomic, high performance crate for OpenType fonts.
Skrifa is a mid level library that provides access to various types
of metadata contained in a font as well as support
for scaling (extraction) of glyph outlines.
It is described as “mid level” because the library is designed to sit
above low level font parsing (provided by read-fonts)
and below a higher level text layout engine.
See the readme for additional details.
Re-exports
pub extern crate read_fonts as raw;
Modules
- Primary attributes typically used for font classification and selection.
- Mapping of characters to nominal glyph identifiers.
- Basic representation of an in-memory font resource.
- Helpers for selecting a font size and location in variation space.
- Global font and glyph specific metrics.
- Useful collection of common types suitable for glob importing.
- Loading, scaling and hinting of glyph outlines.
- Definitions for specifying variations and typographic features.
- Localized strings describing font names and other metadata.
Structs
- Axis of variation in a variable font.
- Collection of axes in a variable font.
- A 16-bit glyph identifier.
- Named instance of a variation.
- Collection of named instances in a variable font.
- An OpenType tag.
Traits
- Interface for types that can provide font metadata.