ugly web fonts in Google Chrome (but fine in Firefox)

9,241 views
Skip to first unread message

free.thought

unread,
Oct 29, 2012, 9:04:43 AM10/29/12
to mathja...@googlegroups.com
When I open the same web pages with Chrome and Firefox, for example http://mathoverflow.net,  math in Chrome looks significantly worse than in Firefox. 

The "About MathJax" message is exactly the same in both browsers: MathJax v2.1, using TeX web fonts, Chrome  v22.0.1229.94 (resp. Firefox v15.0.1) --- woff or otf fonts. 

But: the fonts in Chrome look bolded, uneven, somewhat jagged, sometimes pretty hard to make out, generally pretty ugly I would say. The fonts in Firefox look thin, not bold, and nice, just what I always expect from MathJax.

I am on Windows 7. I do not have any local STIX or MathJax fonts installed. Chrome's fonts were fine until a few months ago. The change appeared when Chrome auto-updated to a new version. (Unfortunately, I don't remember which. Maybe v.21 but maybe several versions before that, like v.18).

I observed the same ugly web math fonts in MathJax using Safari for Windows 1.5 years ago but I figured it was a Safari or Safari on Windows issue. Maybe it is the WebKit browser issue?

Is anybody else aware of the issue and knows how to fix it?

free.thought

unread,
Oct 29, 2012, 9:14:37 AM10/29/12
to mathja...@googlegroups.com
Here are screenshots. 
chrome.png
firefox.png

Davide P. Cervone

unread,
Oct 29, 2012, 1:06:09 PM10/29/12
to mathja...@googlegroups.com
Chrome has a number of bugs related to antialiasing fonts, particularly web fonts in Windows.  See


for a list of them.  

This may be related to the issue listed here:


and this discussion:

https://groups.google.com/forum/?fromgroups=#!topic/mathjax-users/DbNV18LcIGQ

You are right that the change to Chrome in version 18 (which seemed to be a particularly buggy version) is when this first appeared.

Davide


<chrome.png><firefox.png>

jamal...@gmail.com

unread,
Dec 18, 2012, 4:07:38 PM12/18/12
to mathja...@googlegroups.com
can youi plzzzzzzzz resend that


On Monday, October 29, 2012 9:04:43 AM UTC-4, free.thought wrote:

mic...@indycals.net

unread,
Feb 9, 2013, 1:24:17 AM2/9/13
to mathja...@googlegroups.com
Google is aware of it, but they aren't interested in fixing it as it's been around for at least four years. A shame that a tech giant like Google can't create a simple web browser that displays fonts correctly. Even Microsoft isn't that incompetent. 

rob.davi...@gmail.com

unread,
Apr 18, 2013, 3:50:34 PM4/18/13
to mathja...@googlegroups.com
Adding the following the html tag property to your CSS should fix the issue: (adjust the value to suit your requirements)

html {
-webkit-text-stroke: 0.25px;
}


nessa....@gmail.com

unread,
Jul 18, 2013, 1:18:35 PM7/18/13
to mathja...@googlegroups.com, rob.davi...@gmail.com
Thanks for this, its not a 100% solution, but definitely improves the way the font is displayed

seres...@googlemail.com

unread,
Aug 19, 2013, 7:23:20 AM8/19/13
to mathja...@googlegroups.com, rob.davi...@gmail.com
Thanks very much! No ideal solution, but a great improvement!!
A pity really that Google (or others developing 'spin-offs' of Chrome) apparently haven't been able to solve this issue.. (am posting using FF, Comodo Dragon installed (based on Chrome)).

agnes.gl...@gmail.com

unread,
Aug 21, 2013, 3:20:33 AM8/21/13
to mathja...@googlegroups.com
Its almost funny that the google browser can't handle googles own webfonts.

keram...@gmail.com

unread,
Nov 24, 2013, 11:45:16 PM11/24/13
to mathja...@googlegroups.com, agnes.gl...@gmail.com
not almost funny at all... it's bloody hysterical and ridiculous! :)
and totally not fun for those of us who are expected to deliver pretty websites that are cross-browser beautiful.

google is like that evil older brother... gives us luscious candy with one hand, and smacks us to the ground with the other.
:( 
Reply all
Reply to author
Forward
0 new messages