You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Excalidraw diagrams, preview: text not rendered in virgil font #44
Indeed, I confirm the issue. It seems to be due to the fact that the font is an external resource, and for security reasons, the external resources are not loaded when used as an img tag.
There seems to be a workaround which is to use an object tag to embed the svg. But it has some downsides I'm currently struggling with...
Activity
gissehel commentedon Nov 6, 2023
Hello,
Indeed, I confirm the issue. It seems to be due to the fact that the font is an external resource, and for security reasons, the external resources are not loaded when used as an img tag.
There seems to be a workaround which is to use an object tag to embed the svg. But it has some downsides I'm currently struggling with...
use object and not img to render svg #44