Crate skrifa

source ·
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

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

Traits