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

Add "Convert Labels to SVG" to the desktop version of drawio.

Open VorpalBlade opened this issue 3 years ago • 2 comments

  • [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.

Is your feature request related to a problem? Please describe. When exporting SVGs in drawio-desktop "Convert Labels to SVG" is missing. This seems not to be a bug but a missing feature based on some previous bug reports. According to https://www.diagrams.net/doc/faq/svg-export-text-problems this is implemented by "[...] transmits the diagram to our servers, generates a PDF, then pipes that through Inkscape, and returns the SVG output."

However, if inkscape is installed locally (as is quite common on Linux at least) this should also be possible to run locally.

Describe the solution you'd like I propose an optional dependency on inkscape, perhaps with a configuration option to specify the path to it (may be needed on Windows/Mac as inkscape is less likely to be in PATH).

Describe alternatives you've considered Manually exporting to PDF, running through inkscape and saving. It is annoying and time consuming: the software should be able to do it automatically.

Additional context Distro: Arch Linux (rolling release, so no version).

VorpalBlade avatar Oct 04 '22 14:10 VorpalBlade

Any motivation for why this is declined? Is it too difficult to implement? I'm not a javascript programmer, but in something like Python it would be as simple as a couple of subprocess.run() calls. I can't imagine that nodejs makes it that much harder to run a process?

VorpalBlade avatar Oct 04 '22 14:10 VorpalBlade

We don't want to implement and maintain it. I haven't closed it.

davidjgraph avatar Oct 04 '22 14:10 davidjgraph

I don't believe this is stale, nor is it fixed.

VorpalBlade avatar Apr 03 '23 05:04 VorpalBlade

We're not going to implement this.

davidjgraph avatar Apr 03 '23 09:04 davidjgraph

I just wanted to add another data point even if it doesn't change the wontfix status, as I ran into this issue today and need this feature offline.

argenos avatar Jun 30 '23 20:06 argenos

I'm using the latest version and still encountering this issue.

griffin-warrior avatar Aug 17 '23 10:08 griffin-warrior

We're not going to implement this.

davidjgraph avatar Sep 14 '23 16:09 davidjgraph

23.0.2 now replaces the warning text with a high-res image of the label, if embed images and embed fonts are ticked in the SVG export dialog.

davidjgraph avatar Jan 26 '24 15:01 davidjgraph