Skip to main content

Function: getKerningPairKey()

getKerningPairKey(leftCodePoint, rightCodePoint): string

Defined in: text/font-atlas/font-atlas-data.ts:125

Builds the lookup key FontAtlasData.kerning is keyed by for a pair of adjacent glyphs.

Parameters​

leftCodePoint​

number

The code point of the left glyph in the pair.

rightCodePoint​

number

The code point of the right glyph in the pair.

Returns​

string

The kerning map key for this pair.