Open deining opened 1 year ago
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...
By default, Excalidraw diagrams are rendered in Virgil font, this font is defined inside the SVG returned by kroki service:
In the right preview pane, text inside Excalidraw diagrams is not rendered in Virgil Font.
Excalidraw source of a diagram that reveals the deficiency: