brackets-userland / brackets-electron

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
81 stars 8 forks source link

Text is a bit blurry because Brackets-Electron uses Grayscale antialiasing instead of ClearType #87

Open r4p7or opened 7 years ago

r4p7or commented 7 years ago

OS: Windows 7 64bit Brackets-Electron Release 1.9 build 1.9.3

Hi, thank you for developing Brackets-Electron. I always wished Brackets had the standard (or skinable) window frame. The default flat dark doesn't look good to me. So I am glad that I came across this project.

Unfortunately I cannot use Brackets-Electron yet. The show stopper for me is the font rendering (at least in Windows 7, I dont know about other versions and OSes).

Brackets-Electron uses just grayscale antialiasing whereas vanilla Brackets uses ClearType. The ClearType is much better (text is sharper). Text in Brackets-Electron is kind of blurry and not comfortable for my eyes.

Would it be possible to fix this, please? I have attached a picture with comparison and an animaned GIF.

The font rendering in the screenshots is from Windows 7 (also the font rendering on my system is tweaked using MacType - option CRT for sharper text than the default ClearType) ... but this doesn't matter - the text is always more blurry in Brackets-Electron.

(view at 100% zoom level): brackets_vs_br-electron_fontrendering

(animated GIF, 2 frames, 3sec between them, loop): brackets_vs_brackets-el_fontrendering

zaggino commented 7 years ago

Hi, can't see this on my screen, and as far as I know, this is not controlled in brackets-electron's code and is probably the same issue reported here https://github.com/Microsoft/vscode/issues/13662

I try to update Electron to latest with each release.

If you have an idea how to fix this in brackets-electron's code please open a PR.

nilslindemann commented 5 years ago

The Electron FAQ now explains what this is and how to fix it.