BundleRuns
import type { BundleRuns } from 'pixi-silk/i18n';
The columns of the RUNS section: one entry per shaped glyph.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
advance | Int16Array | Advance in font units. | packages/pixi-silk/src/i18n/bundle.ts:22 |
cluster | Uint16Array | Index of the glyph’s first source character in its message variant. | packages/pixi-silk/src/i18n/bundle.ts:28 |
dx | Int16Array | Horizontal offset in font units (mark positioning). | packages/pixi-silk/src/i18n/bundle.ts:24 |
dy | Int16Array | Vertical offset in font units. | packages/pixi-silk/src/i18n/bundle.ts:26 |
flags | Uint8Array | RunFlag bits. | packages/pixi-silk/src/i18n/bundle.ts:32 |
glyph | Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike> | GLYPHS index of each glyph. 0 is the empty glyph (spaces, newlines). | packages/pixi-silk/src/i18n/bundle.ts:20 |
level | Uint8Array | Bidi embedding level. | packages/pixi-silk/src/i18n/bundle.ts:30 |