google / google/fonts

Osward does not render italics in Chrome with multiple weights

Open
#2,007 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

OS: Windows 10, Linux (various), Mac OSX 10.14, Android
Browser: Chrome 74.0.3729.169 (Official Build) (64-bit) (latest on each OS)

When Oswald is loaded with the following:
```
font-family: 'Oswald';
font-style: normal;
font-weight: 200 700;
src: url(https://fonts.gstatic.com/s/oswald/v23/TK3iWkUHHAIjg752GT8G.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
```

italics do not show (even in the <em> tag). This problem does not exist in Firefox. This issue surfaced about a week ago and appears to be present across all platforms. It does not happen in older versions of chrome (54).

Italics show when loading with:
```
font-family: 'Oswald';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/oswald/v23/TK3iWkUHHAIjg752GT8G.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
```

But then the font-weight and line spacing do not fit the css styles.

Here is a sample:
With Chrome:
![Selection_583](https://user-images.githubusercontent.com/3986413/58982222-f4ea7000-87a1-11e9-8dcf-d1175f369fe7.png)

With Firefox:
![Selection_584](https://user-images.githubusercontent.com/3986413/58982238-fcaa1480-87a1-11e9-84b1-362af26781ac.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.