Skip to content

vyaz-monorepo / core/src / ShapedRun

Interface: ShapedRun ​

Defined in: core/src/measure/FontEngine.ts:222

Result of shapeRun: total advance + per-glyph detail, in font units.

Properties ​

advanceWidth ​

advanceWidth: number

Defined in: core/src/measure/FontEngine.ts:224

Sum of every glyph's xAdvance after kerning / ligature substitution.


glyphs ​

glyphs: ShapedGlyph[]

Defined in: core/src/measure/FontEngine.ts:225

Released under the MIT License.