google / google/fonts

Ligatures missing in several fonts

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

Description

Hello,

When I import a font with embedded code, it works well, except for ligatures, especially the CSS command `font-variant-ligatures` (and equivalent codes with `font-feature-settings`) which seems without effect. I try for `discretionary-ligatures` (`dlig`) for Cormorant fonts, it works flawlessly when I have the file locally, even when I downloaded it from Google Fonts, but if I use the stylesheet link, I lose these ligatures. I tried also with Raleway font (which has the st ligature): same problem. It happened with latest Firefox and Chrome.

```
font-family: 'Cormorant Upright', serif;
font-variant-ligatures: common-ligatures discretionary-ligatures historical-ligatures contextual;
```

Did I miss something?

Sincerely.

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.