Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White text change to grey when exported to PDF #1576

Closed
2 tasks done
adithyaappu opened this issue Jan 10, 2024 · 15 comments
Closed
2 tasks done

White text change to grey when exported to PDF #1576

adithyaappu opened this issue Jan 10, 2024 · 15 comments

Comments

@adithyaappu
Copy link

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • 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:

  1. Add shape
  2. Select a high saturation style
    image
  3. File > Export As > PDF
  4. 'Selection Only': Export
  5. View the export

Expected behavior
Text color remains white while exporting.

Screenshots
Diagram
image

PDF Export
image

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.

image

@davidjgraph
Copy link
Contributor

Can you attach the PDF exported please?

@adithyaappu
Copy link
Author

adithyaappu commented Jan 10, 2024

Sure.
white-text-issue-grey.pdf

@LinguaOccultus
Copy link

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

@ch-andrei

This comment was marked as duplicate.

@pierre-haessig

This comment was marked as duplicate.

@Norbert80
Copy link

I just filed a duplicate issue: #1630
#1630 has a testkit attached.

@Norbert80
Copy link

This issue really affects productive work. Is it possible to set a milestone?

@davidjgraph
Copy link
Contributor

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.

@Norbert80
Copy link

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?

@adithyaappu
Copy link
Author

@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.

@LinguaOccultus
Copy link

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).

@LennonReid
Copy link

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

@alderg
Copy link
Contributor

alderg commented Mar 14, 2024

This works for me, exporting this test case via File, Export as, PDF with default settings.

@davidjgraph
Copy link
Contributor

Does 24.0.6 show this issue?

@LennonReid
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants