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 loading 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 (codepoints, not graphemes) to nominal glyph identifiers.
- Drawing color glyphs.
- 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.
- Loading, scaling and hinting of glyph outlines.
- Loads incremental font transfer https://w3c.github.io/IFT/Overview.html patch mappings.
- Useful collection of common types suitable for glob importing.
- 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.
- Reference to an in-memory font.
- A 32-bit glyph identifier.
- A 16-bit glyph identifier.
- Named instance of a variation.
- Collection of named instances in a variable font.
- A scalable glyph outline.
- Collection of scalable glyph outlines.
- An OpenType tag.
Traits§
- Interface for types that can provide font metadata.