openpencil/packages
Anton A S 9caa89e6f8 Fix text layout without CanvasKit: estimate size instead of 100×100 default
Text nodes with textAutoResize=WIDTH_AND_HEIGHT kept their 100×100
default SceneNode size when MeasureFunc was unavailable (no CanvasKit),
blowing up every HUG container.

Add fallback estimator (~0.6 × fontSize per char) in layout.ts so
headless layout produces sane sizes.

DO NOT change textAutoResize defaults in renderer.ts without testing
headless layout — see comments there and in layout.ts.
2026-03-10 22:59:15 +03:00
..
acp Lint all packages: fix 193 errors across core, mcp, acp 2026-03-09 13:18:08 +03:00
cli Release v0.9.0 2026-03-09 17:43:11 +03:00
core Fix text layout without CanvasKit: estimate size instead of 100×100 default 2026-03-10 22:59:15 +03:00
demos feat: mobile layout, PWA support (#27) (#27) 2026-03-05 19:51:51 +03:00
docs Release v0.9.0 2026-03-09 17:43:11 +03:00
mcp Lint all packages: fix 193 errors across core, mcp, acp 2026-03-09 13:18:08 +03:00