openpencil/packages/core/src/render
Danila Poyarkov 534a7b298e Add DEFAULT_FONT_FAMILY constant, load fonts on paste and .fig import
Replace all 'Inter' string literals with DEFAULT_FONT_FAMILY from
constants. Add loadFontsForNodes() that collects font families from
text nodes and loads them into CanvasKit, called after clipboard
paste and .fig file import.
2026-03-03 23:56:21 +03:00
..
components.ts JSX renderer in @open-pencil/core 2026-03-01 10:42:06 +03:00
export-jsx.ts Add DEFAULT_FONT_FAMILY constant, load fonts on paste and .fig import 2026-03-03 23:56:21 +03:00
index.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
jsx-runtime.ts JSX renderer in @open-pencil/core 2026-03-01 10:42:06 +03:00
mini-react.ts JSX renderer in @open-pencil/core 2026-03-01 10:42:06 +03:00
render-jsx.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
renderer.ts Extract color constants: BLACK, TRANSPARENT, DEFAULT_SHADOW_COLOR 2026-03-02 19:34:35 +03:00
tree.ts Deduplicate render internals: shared resolveToTree, remove dead code 2026-03-01 10:45:39 +03:00