Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFontParser

Hierarchy

Implemented by

Index

Properties

ascent

ascent: number

The maximum unaccented height of the font within the font coordinate system.

descent

descent: number

The maximum unaccented depth of the font within the font coordinate system.

horizAdvX

horizAdvX: number

Default number of units the cursor should advance after typing a glyph

unitsPerEm

unitsPerEm: number

Number of units that go into an em in this font's coordinate system

Methods

getGlyph

  • getGlyph(glyph: string): Glyph | null

getKerning

  • getKerning(u1: number, u2: number): number

Generated using TypeDoc