web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

www.bbc.com - Webfonts significantly thicker on Firefox than Chrome

Open stuartshapiro opened this issue 7 years ago • 6 comments

URL: http://www.bbc.com/travel/story/20190127-italys-practically-perfect-food

Browser / Version: Firefox 65.0 Operating System: Mac OS X 10.14 Tested Another Browser: Yes

Problem type: Design is broken Description: Webfonts significantly thicker on Firefox than Chrome Steps to Reproduce: Webfonts load fine, but appear much visually thicker than on Chrome 72.

May be related to the new bolder fonts on Mojave, but Chrome 72 just updated with the same fix and the problem remains.

Can be seen in the subhead of the site above.

Can also be seen in the links in the "Find out" line of this site: https://clearleft.com/ Screenshot Description

Browser Configuration
  • None

Reported by @shapiro125

From webcompat.com with ❤️

stuartshapiro avatar Jan 29 '19 21:01 stuartshapiro

And on Chrome 72: Screenshot Description

stuartshapiro avatar Jan 29 '19 21:01 stuartshapiro

Another example from https://clearleft.com/

Firefox 65:
Screenshot Description

Chrome 72:

Screenshot Description

stuartshapiro avatar Jan 29 '19 21:01 stuartshapiro

This also may be because I use an HD external monitor on mac. On my retina laptop screen, the differences aren't nearly as pronounced.

stuartshapiro avatar Jan 30 '19 01:01 stuartshapiro

Thanks @shapiro125 for the reported issue! I can also see this difference.

Firefox Nightly 67: image

Chrome 72: image

Tested with: Browser / Version: Firefox Nightly 67.0a1 (2019-02-12) Operating System: Windows 10 Pro

Moving to Needsdiagnosis.

This is site error. This is their font-face rule for that font:

@font-face {
  font-family: 'curiousSans-Bold';
  src: url('../../fonts/curious/CuriousSans-Bold.eot');
  src: url('../../fonts/curious/CuriousSans-Bold.eot?#iefix') format('embedded-opentype'), url('../../fonts/curious/CuriousSans-Bold.woff') format('woff'), url('../../fonts/curious/CuriousSans-Bold.ttf') format('truetype'), url('../../fonts/curious/CuriousSans-Bold.svg#') format('svg');
  font-weight: 'normal';
  font-style: 'normal';
}

They are telling the browser that this isn't a bold font, so when Safari or Firefox are told to render it as bold, they apply synthetic bolding. Chrome seems to just check the font itself regardless of what the CSS tells it to do, so it doesn't apply synthetic bolding (see bz1524870).

Per spec, BBC should really change the font-face rules to reflect what the fonts are supposed to be (this one is in this stylesheet on their own server; the other fonts they're loading off of CDNs seem to be correctly specifying the font-weight and such).

wisniewskit avatar Feb 14 '19 17:02 wisniewskit

I'm not sure it's worth the outreach effort here, but if someone else would like to get in touch with BBC, that's cool too.

miketaylr avatar Oct 04 '19 17:10 miketaylr