openpencil/packages/core
Danila Poyarkov ef78ffd2e4 Render text from SkPicture cache when fonts are missing
On copy: serialize each text node's paragraph into an SkPicture and
embed the bytes (base64) in the OpenPencil clipboard payload.

On paste: if the font isn't available, render from the cached SkPicture
instead of the broken fallback. Text looks pixel-perfect without the
font installed — same behavior as Figma.

Missing font indicator:
- Orange ⚠ badge on canvas over text nodes with unavailable fonts
- Amber warning banner in the Typography panel listing missing families
- isFontLoaded() check in @open-pencil/core for querying font status
2026-03-02 19:35:04 +03:00
..
src Render text from SkPicture cache when fonts are missing 2026-03-02 19:35:04 +03:00
package.json Release v0.4.2 2026-03-02 18:14:35 +03:00
tsconfig.json Bump all packages to 0.4.0, fix Node.js ESM compatibility 2026-03-02 14:59:59 +03:00