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. |
||
|---|---|---|
| .. | ||
| components.ts | ||
| export-jsx.ts | ||
| index.ts | ||
| jsx-runtime.ts | ||
| mini-react.ts | ||
| render-jsx.ts | ||
| renderer.ts | ||
| tree.ts | ||