Module font

Source
Expand description

This module contains the font enumeration and glyph data structures

The Font struct contains all the glyphs in a font, along with any stored strings

The Glyph struct contains information about a single glyph in a font:

  • Unicode codepoint
  • Postscript name
  • Outline data

Re-exports§

pub use crate::raw::ttf::NameKind as StringKind;

Structs§

Font
A parsed font, with access to its glyphs and stored strings
Glyph
A single glyph in a font