openpencil/packages/core/src
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
..
kiwi Add DEFAULT_FONT_FAMILY constant, load fonts on paste and .fig import 2026-03-03 23:56:21 +03:00
render Add DEFAULT_FONT_FAMILY constant, load fonts on paste and .fig import 2026-03-03 23:56:21 +03:00
tools Add set_text_properties and set_layout_child tools (from #11) 2026-03-02 21:12:44 +03:00
canvaskit.ts Cache effect ImageFilters and reuse layer paint 2026-03-03 10:12:02 +03:00
clipboard.ts Extract shared sortChildren, reduce kiwi-convert export surface 2026-03-03 23:34:02 +03:00
color.ts Extract color constants: BLACK, TRANSPARENT, DEFAULT_SHADOW_COLOR 2026-03-02 19:34:35 +03:00
constants.ts Add DEFAULT_FONT_FAMILY constant, load fonts on paste and .fig import 2026-03-03 23:56:21 +03:00
fig-export.ts Hide internal pages and render page dividers 2026-03-03 14:37:56 +03:00
figma-api.ts Port figma-use tools: variables, set_*, node ops, boolean, paths, viewport 2026-03-02 19:27:42 +03:00
fonts.ts Render text from SkPicture cache when fonts are missing 2026-03-02 19:35:04 +03:00
global.d.ts Add @open-pencil/cli with headless .fig file operations 2026-03-01 01:19:24 +03:00
index.ts Cache effect ImageFilters and reuse layer paint 2026-03-03 10:12:02 +03:00
kiwi-serialize.ts Multi-selection properties panel with tests 2026-03-03 20:35:51 +03:00
layout.ts Deduplicate fig-kiwi parsing, font weight mapping, layout, style runs, text editor 2026-03-01 11:29:26 +03:00
render-image.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
renderer.ts Add DEFAULT_FONT_FAMILY constant, load fonts on paste and .fig import 2026-03-03 23:56:21 +03:00
scene-graph.ts Add DEFAULT_FONT_FAMILY constant, load fonts on paste and .fig import 2026-03-03 23:56:21 +03:00
snap.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
style-runs.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
text-editor.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
types.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
undo.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
vector.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00