CatharsisFonts / Cormorant

Cormorant open-source display font family
SIL Open Font License 1.1
548 stars 23 forks source link

c_t missing unicode reference google fonts Cormorant Garamond #54

Closed gessel closed 4 years ago

gessel commented 4 years ago

I was trying to get c_t (0x100ee) to substitute for "et" as a ligature and have thus far been stymied. I see it is the first entry in the "dlig" table, but I can't get it or any other discretionary ligatures to render in either Chrome nor FF, Win nor Ubuntu testing as:

https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Fundamentals HTML Input:

<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;1,500&display=swap" rel="stylesheet">
<p class="ligs">dlig: ct ffu fu Qy liga: fb ff ffb</p>

CSS Input

.ligs {
 font-size: 50px;
font-family: 'Cormorant Garamond', serif;
  font-variant-ligatures: discretionary-ligatures;
}

output: image

I'd expect: image

I had thought to simply call it by HTML or Unicode, but the standard values cited U+1F670/🙰 aren't assigned in the font file.

Any hints? Thanks!

thlinard commented 4 years ago

https://github.com/google/fonts/issues/1582

CatharsisFonts commented 4 years ago

Thanks Thomas, didn't know about that!

BTW, is there historic precedent for using c_t for &...?

thlinard commented 4 years ago

BTW, is there historic precedent for using c_t for &...?

No, the two ligatures are unrelated. & (U+0026 AMPERSAND) is for "e+t". Very common ligature in 17th century English and French books. For example, on the cover of this 1607 book, there are two different & (and a c+t ligature): https://fr.wikisource.org/wiki/Livre:Antoine_Loysel,_Institutes_coustumieres,_1607.djvu

Or this 1763 book (&c. = etc.): https://en.wikisource.org/wiki/Page:Ruffhead_-_The_Statutes_at_Large_-_vol_4.djvu/287

CatharsisFonts commented 4 years ago

Maybe the Cormorant Italic ampersand might be a better choice then, since it mirrors that form.

gessel commented 4 years ago

Thanks - this is, indeed what I need. Also, thanks for the detail on not getting dlig tables from googlefonts. image

The ligature from Adobe Garamond Pro that sent me off on the tangent is:

image