excalidraw-animate icon indicating copy to clipboard operation
excalidraw-animate copied to clipboard

fix: Apply temporary logic to apply missing fonts in the current excalidraw package

Open kei95 opened this issue 6 months ago • 3 comments

Issue

https://github.com/dai-shi/excalidraw-animate/issues/55

What the change is about

It turned out that the @excalidraw/excalidraw package is way behind the released app version, hence the issue as the package doesn't know any added fonts that are present in the app. This PR adds fonts and logic to apply missing fonts and adopt newly added fonts so that this app can display any fonts in the current version of the excalidraw.

@dai-shi This is a bit of an ugly patch-up to manually apply missing fonts in the package until we get the update from Excalidraw. It at least does its job to adopt the fonts but I'd say it's up to you to have this change meanwhile or wait for their update without it!

Screenshot / Gif

Base canvas in Excalidraw Screenshot 2024-08-08 at 5 46 00 PM

Imported svg 2024-08-08 17 34 53

kei95 avatar Aug 09 '24 00:08 kei95