zapthedingbat / drawio-obsidian

Draw.io plugin for obsidian.md
MIT License
415 stars 52 forks source link

Text visible in Obsidian only #57

Open hgrw opened 2 years ago

hgrw commented 2 years ago

When I open an .svg created in Diagrams none of the text is visible. It is visible when viewing with Obsidian. This is a problem because I'm using pandoc to generate a PDF using the SVG.

hgrw commented 2 years ago

The fix was to add text in inkscape. If you look at this diff it might be obvious what the problem is.

https://gitlab.com/tumbleweed-rover/literature-review/-/commit/0eaeaf2528fdea927d53f7333ae30114adf75cf6

PierreGtch commented 1 year ago

Same issue here, if I try to convert text.svg created in Diagrams using Inkscape with:

 inkscape --export-type=pdf text.svg

I obtain the following error:

Fontconfig warning: ignoring UTF-8: not a valid region tag
WARNING: unknown type: svg:foreignObject

(text.svg only contains a single Text object)

Versions:

Inkscape 1.2.1 (9c6d41e, 2022-07-14)
Diagrams 1.5.0