Search code examples
cssfirefoxfontsfont-facewebfonts

Firefox display Google Oswald regular font as bold


On Firefox, Google Oswald font with font weight set to 400 (or normal) is displayed as bold.

What is strange it works properly on Google Fonts page, but it fails on live projects.

font-family: 'Oswald';
font-weight: 400;

Here's the CodePen: https://codepen.io/anon/pen/zWvVgo?editors=1100


I've tested that on Windows 8.1

Firefox 58.0.2 (64-bit)

Chrome 65.0.3325.146 (64-bit)


See image below for clarity


Solution

  • Thanks to @RoelN I found the issue.

    Fonts installed in OS take precedence over webfont versions. I had installed local version of Google Oswald which behaved slightly different than webfont.