API

Interface IFontData

Represents font data generated by http://gero3.github.io/facetype.js/

interface IFontData {
    boundingBox: { yMax: number; yMin: number };
    glyphs: { [key: string]: IGlyphData };
    resolution: number;
    underlineThickness: number;
}
Index
boundingBox: { yMax: number; yMin: number }

Bounding box

glyphs: { [key: string]: IGlyphData }

List of supported glyphs

resolution: number

Font resolution

underlineThickness: number

Underline tickness