Open Bug 1848345 Opened 11 months ago Updated 3 months ago

Different font-weight on websites compared to Chrome

Categories

(Web Compatibility :: Knowledge Base, defect, P3)

Firefox 118
Desktop
Windows 10

Tracking

(Not tracked)

People

(Reporter: ctanase, Unassigned)

References

(Blocks 11 open bugs)

Details

Attachments

(5 files)

This is a meta bug to track the differences in font-weight (bolder/thinner) present on different webpages.

  • Issue found during WebCompat team [Top100] websites testing
Attached image ebay.com.png

On ebay.com the "Shipping to:" text appears bolder on Firefox compared to Chrome.

This is not really a valid comparison as far as font weight/darkness is concerned, because Firefox and Chrome are using entirely different font-families there. It looks like Firefox is using a webfont from eBay ("Market Sans", I think), while Chrome is falling back to Arial.

So the possibly-interesting compat question here is why Chrome isn't using the site's webfont.

Attached image github.png

Reproducible on github.com as well.

This is different from the screenshot in comment 1, where there were clearly different fonts being used. In the github case, it looks more like a rendering difference that might related to the use of -webkit-font-smoothing and/or -moz-osx-font-smoothing with the light-on-dark text. But I'm not able to check in detail right now as the page I get when I view github.com is quite different, and doesn't have those Create Repository buttons.... I'm not sure how to view that.

Reproducible on fandom.com - mobile

Attached image paypal FF vs Chrome.png

Reproducible on paypal.com (header and footer) as well. The font might be different but I'm not sure.

Tested on Windows 10 / Firefox Nightly 120.0a1 (2023-09-28).

(In reply to Calin Tanase from comment #6)

Created attachment 9355824 [details]
paypal FF vs Chrome.png

Reproducible on paypal.com (header and footer) as well. The font might be different but I'm not sure.

Tested on Windows 10 / Firefox Nightly 120.0a1 (2023-09-28).

In this screenshot, it looks like Firefox is applying synthetic-bold to text of the footer links. But I don't see that when loading paypal.com locally. What font does the DevTools Inspector (check the Fonts panel for the actual font, not the font-family list) report is being used here, and what font-weight is applied?

Flags: needinfo?(ctanase)
Attached image paypal font used.png

There you go:

Flags: needinfo?(ctanase)
Attached image Paypal used font - UK

Curious.... I get a different result there, with it using a Bold version of the font. I guess the paypal styling may vary between countries, and the site you're getting doesn't have a Bold webfont configured.

Ah, yes - if I explicitly go to https://www.paypal.com/ro/home, I see the same styling as you, with synthetic-bold being applied to the webfont there.

The fact that our synthetic bold looks somewhat different from Chrome's is known/expected. (It also depends on the platform.)

Duplicate of this bug: 1847564
Component: Desktop → Knowledge Base
Flags: needinfo?(dschubert)
Duplicate of this bug: 1846965
Duplicate of this bug: 1847552
See Also: → 1884160
See Also: → 1884168
See Also: → 1884362
See Also: → 1884366
See Also: → 1884710
See Also: → 1884886
Blocks: 1884886
See Also: 1884886
Blocks: 1884710
See Also: 1884710
Blocks: 1884366
See Also: 1884366
Blocks: 1884362
See Also: 1884362
Blocks: 1884168
See Also: 1884168
Blocks: 1884160
Blocks: 1884950
Blocks: 1885130
See Also: → 1885156
Blocks: 1885156
See Also: 1885156
Blocks: 1885377
Blocks: 1885899
Summary: [META] Different font-weight on websites compared to Chrome → Different font-weight on websites compared to Chrome

The ni? was for me to backfill the URLs, but we don't do that anymore, so cancelling it.

Flags: needinfo?(dschubert)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: