Skip to content
pixi-silk
GitHub repository
Interface

BundleRuns

import type { BundleRuns } from 'pixi-silk/i18n';

The columns of the RUNS section: one entry per shaped glyph.

Properties#

PropertyTypeDescriptionDefined in
advanceInt16ArrayAdvance in font units.packages/pixi-silk/src/i18n/bundle.ts:22
clusterUint16ArrayIndex of the glyph’s first source character in its message variant.packages/pixi-silk/src/i18n/bundle.ts:28
dxInt16ArrayHorizontal offset in font units (mark positioning).packages/pixi-silk/src/i18n/bundle.ts:24
dyInt16ArrayVertical offset in font units.packages/pixi-silk/src/i18n/bundle.ts:26
flagsUint8ArrayRunFlag bits.packages/pixi-silk/src/i18n/bundle.ts:32
glyphUint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>GLYPHS index of each glyph. 0 is the empty glyph (spaces, newlines).packages/pixi-silk/src/i18n/bundle.ts:20
levelUint8ArrayBidi embedding level.packages/pixi-silk/src/i18n/bundle.ts:30