Live data from Hacker News

Better text rendering in Chromium-based browsers on Windows

developer.chrome.com

71–80 of 133 posts

Re: Better text rendering in Chromium-based browsers on Windows

#71
post #26

Are these defaults part of Skia or Chromium, i.e. will all Skia dependents benefit from this change?

Developer here. These changes impacted both Chromium and Skia. Skia dependents can now configure their text gamma and contrast values via SkSurfaceProps - https://skia-review.googlesource.com/c/skia/+/798096

Re: Better text rendering in Chromium-based browsers on Windows

#72
post #45

My overriding feeling after reading this is: displaying text is a key job of a web browser. A browser that showed no text would be useless. And yet, after learning that Chromium's text looked wrong on Windows (by far the most important platform for Edge and Chrome), it took 4 years for the Chromium and/or Edge teams to fix it. 4 years of user research? 3 years to respect the user's ClearType Tuner values? Being a reg…

> Being a regression from pre-Chromium Edge, this should have been a release blocker on Chromium-based Edge. Instead, text looked bad for 4 years.

Text didn't look bad. It just didn't look identical to the rest of the OS.

It's not obvious why that should be a blocker at all, rather than a low-priority inconsistency.

And for people who switch between devices all day long but use the same browser, you could even argue that it's more important for text rendering to be consistent in a browser across devices, rather than consistent within a device. I don't personally think that, but I can see why there might discussion over whether this is even an issue at all, much less a blocking one.

Re: Better text rendering in Chromium-based browsers on Windows

#73
post #28

That's really great news. I always wondered why text rendering in Chrome looked so much worse than Firefox.

Is it my impression or text rendering on Windows is just worse than on other platforms?

It is a matter of personal preference. I personally love the look when there is no hinting at all, even though this means blurriness at the pixel level. Windows prioritizes crispness. I hate that and I think it looks worse.

On the other hand, back in Mac OS X Leopard, the OS lets you adjust the level of font smoothing. I preferred the strongest level of smoothing. Many designers hate that because it is akin to faux bold. I didn't like that Apple removed it in Snow Leopard. These days it hardly matters though.

Re: Better text rendering in Chromium-based browsers on Windows

#74
post #29

It would be great if we could also go ahead and fix subpixel anti-aliasing for OLED screens. People have been been trying for years to get Microsoft's attention about this issue. [1] The subpixel layout of OLED screens is different than the the traditional layout, so text ends up looking pretty bad. Patching ClearType would be the first step to fixing this issue. I'm surprised that none of the display manufacturers h…

I don't think it's a big issue on Microsoft's radar because a lot of OLED screens have a high enough pixel density that the problem isn't really noticeable. The subpixel arrangements themselves have also improved in recent years, further mitigating the issue.

I have a 27" 1440p 3rd gen QD-OLED panel and while I can make out some fringing if I pay real close attention to black-on-white text, it's not noticeable in general usage. The 4k panels have such a high DPI that I can't see the fringing at all without a magnifying glass.

Re: Better text rendering in Chromium-based browsers on Windows

#75
post #45

My overriding feeling after reading this is: displaying text is a key job of a web browser. A browser that showed no text would be useless. And yet, after learning that Chromium's text looked wrong on Windows (by far the most important platform for Edge and Chrome), it took 4 years for the Chromium and/or Edge teams to fix it. 4 years of user research? 3 years to respect the user's ClearType Tuner values? Being a reg…

> Being a regression from pre-Chromium Edge, this should have been a release blocker on Chromium-based Edge. Instead, text looked bad for 4 years. Text didn't look bad. It just didn't look identical to the rest of the OS. It's not obvious why that should be a blocker at all, rather than a low-priority inconsistency. And for people who switch between devices all day long but use the same browser, you could even argue…

Furthermore it's not just that it didn't look identical to the rest of the OS. There is in fact no culture for Windows apps to conform to the platform specific look and feel. A long time ago people were discussing inconsistent ClearType use in Microsoft's own apps like Office and Internet Explorer: it turned out that both Office and IE had their own settings for enabling or ignoring ClearType. In my opinion, that choice should belong to the OS and should never be given to app developers.

Re: Better text rendering in Chromium-based browsers on Windows

#76
post #55
post #49

Earlier quoted context omitted.

The Steam Hardware Survey samples the system when Steam is launched, not while a game is playing. For most users, Steam starts when they log in to the computer. I think the unfortunate reality is that a very large number of gamers are still using 1920x1080 as their everyday ordinary screen resolution for their primary display, though a few percent at least are probably on laptops small enough that 1920x1080 is somewh…

>The Steam Hardware Survey samples the system when Steam is launched, not while a game is playing Who's installing steam on their non-gaming computer?

How is that relevant? The question was whether the resolution figure in the survey is hardware resolution or software settings, and it's the former.

Re: Better text rendering in Chromium-based browsers on Windows

#77
post #45

My overriding feeling after reading this is: displaying text is a key job of a web browser. A browser that showed no text would be useless. And yet, after learning that Chromium's text looked wrong on Windows (by far the most important platform for Edge and Chrome), it took 4 years for the Chromium and/or Edge teams to fix it. 4 years of user research? 3 years to respect the user's ClearType Tuner values? Being a reg…

Maybe I just have low standards but to me text looked absolutely fine while it "looked bad". I have to try very hard to see any difference at all. I don't think it's shameful that it looked this way for 4 years, I think it's shameful that such a degree of wasted effort went into "fixing" it. What a ludicrous use of manpower.

Re: Better text rendering in Chromium-based browsers on Windows

#78
post #29

It would be great if we could also go ahead and fix subpixel anti-aliasing for OLED screens. People have been been trying for years to get Microsoft's attention about this issue. [1] The subpixel layout of OLED screens is different than the the traditional layout, so text ends up looking pretty bad. Patching ClearType would be the first step to fixing this issue. I'm surprised that none of the display manufacturers h…

It's probably easier to change the OLEDs to use a more traditional pattern than changing the rasterizer.

Re: Better text rendering in Chromium-based browsers on Windows

#79
post #45

My overriding feeling after reading this is: displaying text is a key job of a web browser. A browser that showed no text would be useless. And yet, after learning that Chromium's text looked wrong on Windows (by far the most important platform for Edge and Chrome), it took 4 years for the Chromium and/or Edge teams to fix it. 4 years of user research? 3 years to respect the user's ClearType Tuner values? Being a reg…

And that’s why edge doesn’t publish their issue tracker. Ive reported bugs in user profile data and Wallet that have been ignored.Edge Changelog just says “fixes” but I haven’t observed anything noticeable until this rendering fix .

Re: Better text rendering in Chromium-based browsers on Windows

#80

What about all the designers that used to handle this issue by tweaking their font weights, colors...? Changing a long standing issue with a lot of users will break things for some people (using edge, with an eyes for these details..)

Web designers must simply accept that they are working in a medium that is not amenable to (sub)pixel-perfect reproducibility. It is not—and never has been—safe to assume that future versions of a given browser will render identically to the current one. It is not safe to assume that the browsers you are fine-tuning for will remain popular in the future. It is not safe to assume that other users with the same browser version (or a browser claiming to be the same version) as you are using will get an identical rendering as you get on your system.

As a web designer, you must accept that the browser is fundamentally not yours to control. It is an agent acting on behalf of the user, not on behalf of you.

Post reply on HN