Explicit installation of -webkit-font-smoothing: subpixel-antialiased is the best current solution if you want to at least partially avoid the finer, smoother text.
- TL; DR -
Both with Safari and Chrome, where font rendering by default uses subpixel-antialiasing, any CSS that forces GPU-based rendering, like the previous sentences, to use a transform using translateZ, or even just scale, will automatically result in Safari and Chrome โopt outโ of smoothing subpixels and smoothing fonts, and instead switch to plain, smooth text that looks a lot lighter and thinner, especially on Safari.
Other answers focused on keeping the rendering constant by simply setting or forcing font smoothing to a finer anti-Asian text. In my opinion, using translateZ or a hidden surface significantly degrades the quality of text rendering and a better solution if you want the text to stay the same and you're fine with thinner text, just use -webkit-font-smoothing: antialiased . However, explicitly setting -webkit-font-smoothing: subpixel-antialiased really has some kind of effect - the text still changes a little and becomes almost noticeably thinner during the transitions displayed on the GPU, but not as thin as without it. Thus, it seems that this at least partially prevents switching to direct anti-Asian text.
UPDATE August 2017
-webkit-font-smoothing: subpixel-antialiased no longer works in Chrome and degrades text in Safari. Advise to avoid.
atomless Jan 15 '14 at 11:23 2014-01-15 11:23
source share