mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-10 11:35:52 +01:00
1d9cdf4d46
This updates the way fonts are handled to not have to download the font from the internet. If you do `./public/font.ttf` in the .scss file, unfortunately the bundle packages them somewhere that's different from the public folder that is used by the index.html to preload them. The fix I used is to use absolute path `/font.ttf` so that both work. Unfortunately, this means that the website will only work if at the root of the domain. That's the case so far so it's okay but still annoying if we want to embed it somewhere. |
||
---|---|---|
.. | ||
locales | ||
Cascadia.ttf | ||
FG_Virgil.ttf | ||
index.html | ||
logo.png | ||
og-image.png |