text being converted to image rather than vector when exporting as SVG

59 views
Skip to first unread message

Tristan J

unread,
Apr 18, 2025, 12:14:58 PMApr 18
to draw.io Q&A
Hi all, hoping someone may have some insight to an issue I'm having with text created in Draw.io not being exported as vectors, instead it seems to be exported as an image.  

First though, a bit of a backstory into what I'm trying to achieve: I am creating cable construction drawings for a product I make that shows not only the physical layout of the cable, but also the electrical connections via a block diagram. All of the physical stuff is created in Solidworks and the block diagram is done in Draw.io as I find it great for creating easily understandable line drawings and text defining what signal is what. What I want to do is put the block diagram into the Solidworks drawing before exporting the whole shebang as a PDF to send the customers. The issue is that Solidworks does not accept SVG files, only DXFs so I thought why not just convert them in Inkscape and then insert the resultant DXF. The issue I am finding though is that whilst all of the linework is exported as vectors, the text is exported as images which means Inkscape cannot process them and I get lovely DXF line drawings but without the text which kinda defeats the purpose. I've tried exporting as PDFs and then converting those to DXFs, but it appears the same issue is happening. Apparently according to an article I read there should be an option to specify how text is treated in a SVG export, but for the life of me I cannot see the option to treat it as a vector.

Is there any way to get the text in Draw.io to export as a vector? (Any other cunning workarounds that you fine people may like to suggest are also welcome).

See below for an example of the file:

Adapter cable #1 Camera to ROV Pflitche gland_Seanet 101-11649 with BRD-002 v2.drawio

Tristan J

unread,
Apr 27, 2025, 8:30:33 AMApr 27
to draw.io Q&A
Anyone, got any insight on this?

Marcelo Fischborn

unread,
May 8, 2025, 7:40:34 AMMay 8
to draw.io Q&A
This simpler route may solve your problem: From Drawio to PDF to Solidworks.
In my case, the Poppler/Cairo import option kept diagram lines as in the original diagram.

Best,

Marcelo Fischborn

unread,
May 8, 2025, 7:40:38 AMMay 8
to draw.io Q&A
Hi Tristan,
I'm facing a similar issue in a book project. If you export to PDF from Drawio, text remains as vector. You can also import that PDF in Inkscape. Andif you export to plain svg again your text remains as vector.

The problem I still have is that some lines of the original diagrams become thinner than the original in Inkscape.

Let me know if it works and if you have any suggestions to my problem.

Best,
Marcelo

Em domingo, 27 de abril de 2025 às 09:30:33 UTC-3, Tristan J escreveu:

draw.io Q&A

unread,
Jul 11, 2025, 5:33:17 AMJul 11
to draw.io Q&A
Reply all
Reply to author
Forward
0 new messages