excalidraw-animate
excalidraw-animate copied to clipboard
fix: Apply temporary logic to apply missing fonts in the current excalidraw package
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
Imported svg