You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.
Describe the bug
Text is rendered with grayscale anti-aliasing rather than sub-pixel. This makes it look blurry rather than crisp.
To Reproduce
Open the app and look at the text. Bold text emphasizes the problem. If it's still hard to spot take a screenshot and zoom into it.
Expected behavior
Text should not look blurry.
Screenshots
If you really need it I can grab a screenshot of the application, but this example plucked from the Electron FAQ in Additional context illustrates the problem.
Desktop (please complete the following information):
OS: Windows 10.0.19044.2251
Version: 0.5.13
Additional context
Changing theme or font does not fix the problem, although it's less visible with "Default Dark" than for example "Spotify-like", maybe due to less contrast.
Sub-pixel anti-aliasing needs a non-transparent background of the layer containing the font glyphs. (See electron/electron#6344 (comment) for more info).
To achieve this goal, set the background in the constructor for BrowserWindow:
Describe the bug
Text is rendered with grayscale anti-aliasing rather than sub-pixel. This makes it look blurry rather than crisp.
To Reproduce
Open the app and look at the text. Bold text emphasizes the problem. If it's still hard to spot take a screenshot and zoom into it.
Expected behavior
Text should not look blurry.
Screenshots
If you really need it I can grab a screenshot of the application, but this example plucked from the Electron FAQ in Additional context illustrates the problem.
Desktop (please complete the following information):
Additional context
Changing theme or font does not fix the problem, although it's less visible with "Default Dark" than for example "Spotify-like", maybe due to less contrast.
The Electron FAQ addresses this problem and proposes a fix.
The text was updated successfully, but these errors were encountered: