Text renders awfully in Chrome on a PC, yet fine in all other modern web browsers
6,990
Solution 1
This was a problem worthy of StackOverflow after all. CSS Solution:
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
font-smoothing: antialiased;
Solution 2
This sounds like it could be related to either ClearType or GPU rendering.
Here is a helpful article on how to fix font rendering issues.
Related videos on Youtube
Comments
-
Ryan Brodie over 1 year
A web project I'm currently writing has awful text rendering in Chrome 15.0 on Windows and below, despite text rendering perfectly on all other modern web browsers on both Mac/PC.
Internet Explorer 9:
Chrome 14.0:
The web page is encoded in UTF-8. The font used is Helvetica/Arial/sans-serif. Any suggestions?
PS - wheree isn't a typo.
Update: I've created a test page highlighting the problem, text renders fine in all browsers except Google Chrome on Windows. It's valid HTML/CSS according to the W3C validator.
-
CNJ over 12 yearsHow strange. Could we have a look at your HTML and CSS? (Possibly on jsfiddle.net)
-
Mankarse over 12 yearsThis is pretty difficult to analyse without access to the source.
-
Ernest Friedman-Hill over 12 years@PaulD.Waite -- yep, I've seen machines where Chrome renders all pages like this; nothing to do with the specific site. Might be a settings thing, I'm not sure; it's obviously nonoptimal if the default settings don't work.
-
CNJ over 12 years@ErnestFriedman-Hill: crikey, you’d think we could figure out decent basic default font rendering in browsers by now. Good spot.
-
-
syed over 12 yearsYes it's clearly something to do with anti-aliasing, or the lack of it, but it happens on all Windows PC's running Chrome I've seen? It's almost as if Chrome disables ClearType by default? The screen shot is taken from browser lab. I'm looking for a scripting based fix, rather user-end solution.
-
miguelSantirso over 10 yearsThis doesn't work for me :S