API reference
Preparing search index…

FontAdvanceTable

Optional independent codepoint advances for entirely Native measurement.

This table adds letter spacing but has no kerning or shaping. Use width callbacks for contextual shaping; it is not a shaping engine.

interface FontAdvanceTable {
    advances: Int32Array;
    fallbackAdvance: number;
    firstCharacter: number;
}
Source & inheritance
Member directory3

Properties

Properties

advances: Int32Array

Fixed int32 source, copied once.

Source & inheritance
fallbackAdvance: number

Width of unmapped codepoints.

Source & inheritance
firstCharacter: number

First Unicode codepoint.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0