excalidraw-vscode
excalidraw-vscode copied to clipboard
Missing hand draw font family on MacOS
My sketches are beautiful in browser (right side), thx Excalidraw team, but under VSCode on MacOS(left side), I have hand draw font family replaced by Times like font. Same problem with drawio plugin.

Any idea how I can setup the hand draw font family on VSCode under MacOS ?
I finally resolve it by myself : just save a first time a sketch made with a browser and then open it to download the fonts...
You should not need to do this 😅. Next time it happens, can you look at the network request tab in the developper tools ?
I have the same 'missing Virgil font' problem on my Windows PC at work. => The network request tab of the developper tools shows INTERNET_DISCONNECTED errors trying to download the vendor and fonts from https://unpkg.com. (this site may indeed be blacklisted by my workplace proxy). One of the reasons I use excalidraw in vscode is to work offline. => Am I assuming this wrong? Is there a workaround for the fonts? Apart from the font problem, it runs very well. Great tool :)
Thanks for reporting. Something might be wrong, it should use local fonts instead.
I've had this issue occur on Linux. It seems that the font is being blocked by CORS.
Thanks for reporting. Something might be wrong, it should use local fonts instead.
Bonjour, Any chances the Virgil font may be included in the plugin one day, and be used locally (instead of requiring it from unpkg.com) ? Or suggest a workaround to use the plugin+font when working offline (or when unpkg is blocked) ? Again, very great tool, thx.
ps: could we remove 'MacOS' from the topic title, since it seems more related to use local Virgil Font (windows, linux, mac).
Any chances the Virgil font may be included in the plugin one day, and be used locally (instead of requiring it from unpkg.com) ?
Workin on it!
Should be fixed in v3.5.0.
Hello, The v3.5.0 fix works perfect for me :) vscode 1.77.3 with excalidraw-plugin 3.5.0 in Windows10. Thank you so much Achille, this was the only thing that prevent me from using excalidraw at work. Merci infiniment !
Ludovic