Module font

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

Structs§

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

Enums§

GlyphPreview
A preview of a glyph, either as a TTF outline or SVG image
StringKind
The strings supported by the name table