Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

Improve font rendering by setting Electron background #608

Closed
Lombra opened this issue Dec 7, 2020 · 1 comment
Closed

Improve font rendering by setting Electron background #608

Lombra opened this issue Dec 7, 2020 · 1 comment

Comments

@Lombra
Copy link

Lombra commented Dec 7, 2020

Electron has a bug (feature?) where if you don't set the window background to white, all text will use grayscale antialiasing. Set the background color to #fff in order to enable subpixel antialiasing, which makes text look much better.

For Bitwarden, you need to do it here:
https://github.com/bitwarden/jslib/blob/63fe38b3f4dddd701b1a8da8a89e70c9d7fbc706/src/electron/window.main.ts#L106

https://www.electronjs.org/docs/faq#the-font-looks-blurry-what-is-this-and-what-can-i-do

@clayadams5226
Copy link
Contributor

We use GitHub issues as a place to track bugs and other development related issues. The Bitwarden Community Forums has a section for submitting, voting for, and discussing product feature requests like this one.

Please sign up on our forums and search to see if this request already exists. If so, you can vote for it and contribute to any discussions about it. If not, you can re-create the request there so that it can be properly tracked.

This issue will now be closed. Thanks!

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

No branches or pull requests

2 participants