drawio
drawio copied to clipboard
Text setting is exporting as svg image is missing
Preflight Checklist
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug
I knew draw.io has a setting when exporting SVG image "Convert labels to SVG". However, since yesterday and today, I am not able to find that setting (follows the similar step in https://github.com/jgraph/drawio/issues/4056).
To Reproduce Steps to reproduce the behavior:
- Open a new diagram
- File, export as, svg..., or File, export as, advanced, change format to svg
- Got the image attached.
Expected behavior There is no "Text Settings" "Convert labels to SVG" in SVG export interface. Missing this function leads to words getting incorrectly wrapped after being exported as SVG images.
Screenshots
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version v23.0.2
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
- yes, firefox and chrome (not turn off extensions in chrome)
This was removed in the v23 release. Could you please show an example output where there are problems. Includes which items you ticked in the SVG export dialog.
I have the same problem. Previously I was able to export the images with the setting "Convert labels to SVG" without any problems and insert them into a Word document. Then the image could also be zoomed without problems.
Since this setting is now missing, embedded graphics and text become blurred when zooming.
Can you restore the setting as soon as possible? I am currently writing a paper and would need the SVG option.
I have selected the following settings:
We can't, no, it requires a server element that we're no longer running. Could you please show me an example of a problem export?
Yes sure.
I tick the following options in the SVG export:
When I then import the SVG image into word, the text is already slightly blurred (strangely enough not for the labels, only for the text elements).
If I then create a PDF export, the graphics and the text are extremely blurred. Previously this worked perfectly with exactly the same settings.
I don't know how else I can embed the graphics so that they are always sharp when zooming. Even if I embed a high-resolution PNG, the PDF export is then unsharp.
Is there any other solution if you can no longer offer this? This option was never available in the desktop app, so I can't do it there either.
Many thanks for your assistance
You could export to PDF and then go to SVG with that PDF via inkscape.
inkscape in.pdf --pdf-poppler --export-text-to-path --export-plain-svg --export-filename out.svg
I have just tried that. The image remains sharp until it is exported from the Word document to a PDF document. Why exactly is this option no longer possible in draw.io? That was an awesome and simple option.
The text elements are now sharp but the graphics are not embedded correctly.
are you sure your graphics aren't just images?
They are 512x512 pngs but i think draw.io converted them to svg before without any problems. Definitely it worked before with exactly these settings.
This is an example of a PDF export via Word when the option was still available:
There's no conversion from PNG to SVG. If you use vector images in your diagram then this process should be good.
We used inkscape behind the scenes previously, you just need to repeat this locally.
This way it is now working. Many thanks for the support!
This way it is now working. Many thanks for the support!
Hi Saire, could you please share how you solved it?