SVG Export: Text is cropped at text field borders
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 First, Many thanks for this great and helpful project!
Upon Exporting a graph via sgv, text is cropped at text field borders. This behavior differs from jpg export
To Reproduce Steps to reproduce the behavior:
- Open new graph
- Insert text field and enter text that exceeds the field borders
- Export as png/jpg
- Export as svg
Expected behavior WISIWYG, text should be displayed as in the interface. Possibly the text field could be extended in the export?
Screenshots
Interface Screenshot:
Rendered output from jpg export (desired state):
Rendered output from svg export (undesired)
draw.io version (In the Help->About menu of the draw.io editor):
draw.io version 24.1.0
Desktop (please complete the following information):
- OS: [e.g. iOS]: Windows 11
Additional context Add any other context about the problem here.
Text Output is rendered correctly by Edge for instance actually, but not by Inkscape (where I took the screenshot above from). Might therefore actually be an issue with the rendering software. Artificially increasing the text field size might still help.
I'm using the version 24.4.8 on Windows and I have the textbox not showing completely in Inkscape nor in LaTeX using svg package. In the web browser it is rendered corrected.
From drawio:
Openning in Inkscape I have:
Did you export the SVG? What were the export settings?