-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[CEF 2171] Significant decrease in font quality on Windows #9978
Comments
Unfortunately, the same bug occurs in-browser. Chrome does use subpixel AA for me on other sites like GitHub though, including on dark backgrounds... so I'm beginning to wonder if this could be a problem specific to our webfont (or maybe just all webfonts in general?). |
Hmm, the plot thickens:
Yet still, both in CEF 2171 and in browser, I'm still seeing the fuzzy grayscale AA. So this may be a CSS problem on our end afterall, since other sites with the same font show better AA both in CEF and in browser. |
Aha! I was able to build up a small testcase that shows grayscale AA in-browser: http://jsfiddle.net/x7djdghw/1/. If you remove the It seems like as soon as Chrome sees a 3D transform, it now kicks over the whole UI to grayscale AA :-( Edit: extremely minimal testcase -- http://jsfiddle.net/x7djdghw/3/ - no |
Ok, so it's definitely something about our UI content that's causing this. It's not related to any specific font, since the same font AAs fine in other contexts. For example... using Consolas as the editor font: - Brackets running in Chrome: crappy gray AA Larger: |
@peterflynn If you've traced the issue to a |
@le717 Unfortunately, even after removing every |
I'd think the loading spinner animation and any transitions/other animations might enable the GPU too. |
Update: subpixel AA works fine if I load Brackets in IE 10. Definitely a Chrome-specific issue. The simple testcase with |
@peterflynn This might just be a Chrome bug after all. Someone merged your issue into https://code.google.com/p/chromium/issues/detail?id=435317 According to the report, the issue repos in Chrome 37-39 as a regression, and seems to have something to do with |
Ok, so it turns out my Chromium bug report may be a red herring for Brackets. It looks like all we need to do is turn off the There are still some rendering differences (e.g. text takes up a tad more space), but in general it looks good enough to me. |
Note: all the |
rendering (on newer Chromiums) to strop doing subpixel antialiasing (aka ClearType) anywhere in the UI. Fixes bug #9978 ([CEF 2171] Significant decrease in font quality on Windows). Note: there are a lot of `-webkit-font-smoothing: antialiased;` rules that seem like they might cause similar problems on Win, but actually that CSS property is specific to Apple text rendering, and does nothing on other platforms.
Fix bug #9978 (CEF 2171: Significant decrease in font quality on Windows).
Removing Development, PICK ME UP, and fix in progress labels since I just merged the pull request that fixes the issue in Brackets. |
Actually, we don't need to wait for the fix for Chromium issue. Closing. |
I know Chrome has been going through some major font rendering changes on Windows, to try to align better with native ClearType rendering. I'm not sure if that's landed yet or if there's some other explanation. But this is definitely a step backward in visual quality:
The changes that I can see include:
l
,b
,{
-- where it should be perfectly pixel snapped, but instead is usually smeared across two columns of pixels.I think (1) is a blocker, (2) is something we could live with, and (3)-(4) are no big deal.
The text was updated successfully, but these errors were encountered: