A deterministic TypeScript layout engine that computes exact glyph and page geometry for Canvas apps, PDF generators, and document editors.