Skip to content

Desktop: fix sub pixel rendering #1378

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

Merged
merged 1 commit into from
Mar 31, 2019

Conversation

RaphaelKimmig
Copy link
Contributor

This change improves font rendering for the electron desktop client.

For subpixel rendering to work electron requires the background to be non-transparent.
This has to be set as an option for the BrowserWindow, see https://github.com/electron/electron/pull/16459/files

@laurent22
Copy link
Owner

Did you test in dark and light theme? Does it change something?

@RaphaelKimmig
Copy link
Contributor Author

Yes, I didn't see any visible changes, other than improved font rendering. It seems like everything else already has an explicit background colour (which makes sense, given that the dark theme already looks quite different from the light one :-)).

@laurent22
Copy link
Owner

Looks good then, thanks!

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

Successfully merging this pull request may close these issues.

2 participants