drawio-desktop
drawio-desktop copied to clipboard
White text change to grey when exported to PDF
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.
Describe the bug In the desktop version when I export to PDF, white text becomes grey. #1050 describes similar issue while printing, but I experience the same in exporting.
To Reproduce Steps to reproduce the behavior:
- Add shape
- Select a high saturation style
- File > Export As > PDF
- 'Selection Only': Export
- View the export
Expected behavior Text color remains white while exporting.
Screenshots
Diagram
PDF Export
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version 22.1.16
Desktop (please complete the following information):
- OS: Windows
Additional context A work around I found out from draw.io article is to uncheck both 'Word Wrap' & 'Formatted Text'. When unchecked the export retains the white colour.
Can you attach the PDF exported please?
Can confirm this issue. There have been several issues over the last major versions, especially when using the dark mode, but while those seemed to have been fixed, this came up a new with one of the last ones. I regularly export PDFs and always use the dark mode so I would have become aware of this and it cannot be too long standing again now.
It also changes some color values for me aside the text color issue described above.
Current version: 22.1.18
Also have this issue.
@adithyaappu thank you for sharing a workaround
I got caught by this bug on 23.0.2 (not using dark mode). I thought that adding a black text background would make things better (in case it was some kind of buggy contrast enhancement), but in fact the white text on black background becomes in the pdf export light gray on white!
Png export:
Pdf export:
Screenshort of Pdf export:
I just filed a duplicate issue: #1630 #1630 has a testkit attached.
This issue really affects productive work. Is it possible to set a milestone?
This is an open source project, asking for "milestones" and "ETAs" isn't really appropriate.
There's a release currently built, you can see if that improves the issue.
This is an open source project, asking for "milestones" and "ETAs" isn't really appropriate.
There's a release currently built, you can see if that improves the issue.
Thanks for the hint... where can I find additional info? Which build should address this issue? Which path has been identified to cause this regression?
@Norbert80 use the work around specified in the original issue, under "Additional Context" until there is a fix. Don't bug developers with specific issues. Priorities are set considering many factors.
I can confirm the color issues for PDF export are solved for me in 23.1.5 – however, since the custom fonts are still ignored (#1604) it does not help much so far ... (as both need to be fixed to make exporting work again).
It was initially resolved in v23.1.5, but unfortunately, the issue persisted and resurfaced again in v24.0.4. Further investigation is required to address it at a deeper level. Thank you for your contribution to this open-source project. @davidjgraph
This works for me, exporting this test case via File, Export as, PDF with default settings.
Does 24.0.6 show this issue?
Hi @davidjgraph,
Apologies for the delay in getting back to you on this!
I just tested it on version 24.1.0, and the issue seems to be resolved there. Looks like the fixes implemented after 24.0.4 did the trick.
Thanks for checking in and for your ongoing support of this project.
Cheers!