google / fonts

Font files available from Google Fonts, and a public issue tracker for all things Google Fonts
https://fonts.google.com
18.22k stars 2.62k forks source link

Ligatures missing in several fonts #2464

Open BenjaminGalliot opened 4 years ago

BenjaminGalliot commented 4 years ago

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.

xotypeco commented 4 years ago

from my own experience, Google Fonts doesn't serve ligated characters characters, or small caps, or really much of anything that could be considered discretionary. I may be incorrect in stating that so broadly, but @davelab6 or @m4rc1e can probably answer more definitively.

thlinard commented 4 years ago

Duplicate of #1335.