openpencil/src
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
..
components Pass fontWeight to both CanvasKit text style and textarea overlay 2026-02-28 08:49:28 +03:00
composables Text tool: start empty with cursor, blue editing outline 2026-02-28 08:47:42 +03:00
engine System font loading via Local Font Access API 2026-02-28 08:54:53 +03:00
kiwi Refactor: vendor kiwi-schema, extract types/constants, culori colors 2026-02-28 08:08:04 +03:00
stores Replace emoji icons with Lucide via Iconify (unplugin-icons) 2026-02-28 08:24:42 +03:00
app.css System font loading via Local Font Access API 2026-02-28 08:54:53 +03:00
App.vue Fix silent rendering crash, no-chrome test mode, error detection 2026-02-28 08:39:19 +03:00
constants.ts Refactor: vendor kiwi-schema, extract types/constants, culori colors 2026-02-28 08:08:04 +03:00
demo.ts Refactor: vendor kiwi-schema, extract types/constants, culori colors 2026-02-28 08:08:04 +03:00
env.d.ts Replace emoji icons with Lucide via Iconify (unplugin-icons) 2026-02-28 08:24:42 +03:00
main.ts Migrate to Tailwind CSS 4.2 2026-02-28 00:54:38 +03:00
types.ts Refactor: vendor kiwi-schema, extract types/constants, culori colors 2026-02-28 08:08:04 +03:00