openpencil/src/engine
Danila Poyarkov e3c80fc790 System font loading via Local Font Access API
- Font service (src/engine/fonts.ts) loads system fonts on demand
- Same font bytes registered in both CanvasKit and browser (FontFace API)
- Eliminates rendering mismatch between canvas and text editing overlay
- queryLocalFonts() for enumeration and blob() for font data
- Bundled Inter-Regular.ttf as fallback when API unavailable
- Renderer uses font service instead of hardcoded fetch
2026-02-28 08:54:53 +03:00
..
canvaskit.ts Add oxlint, oxfmt, typescript-go 2026-02-27 15:52:55 +03:00
clipboard.ts Refactor: vendor kiwi-schema, extract types/constants, culori colors 2026-02-28 08:08:04 +03:00
color.ts Refactor: vendor kiwi-schema, extract types/constants, culori colors 2026-02-28 08:08:04 +03:00
fonts.ts System font loading via Local Font Access API 2026-02-28 08:54:53 +03:00
layout.ts Auto-layout with Yoga WASM integration 2026-02-27 23:51:21 +03:00
renderer.ts System font loading via Local Font Access API 2026-02-28 08:54:53 +03:00
scene-graph.ts Refactor: vendor kiwi-schema, extract types/constants, culori colors 2026-02-28 08:08:04 +03:00
snap.ts Rotation-aware snap guides and selection bounds 2026-02-28 01:24:23 +03:00
undo.ts Wire undo/redo into all editor operations 2026-02-28 06:28:17 +03:00
vector.ts Fix open paths rendering as closed 2026-02-28 07:15:07 +03:00