drawio-obsidian icon indicating copy to clipboard operation
drawio-obsidian copied to clipboard

Text visible in Obsidian only

Open hgrw opened this issue 2 years ago • 2 comments

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 avatar Jun 19 '22 04:06 hgrw

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

hgrw avatar Jun 19 '22 07:06 hgrw

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

PierreGtch avatar Jan 26 '23 13:01 PierreGtch