kennethormandy / normalize-opentype.css

Adds OpenType features—ligatures, kerning, and more—to Normalize.css.
http://kennethormandy.com/journal/normalize-opentype-css
MIT License
791 stars 29 forks source link

Numbers not displaying #19

Open ghost opened 9 years ago

ghost commented 9 years ago

I'm using the Karla font with normalize-opentype.css on my blog (see the repository for full source code). Here's the problem:

Problem

It appears that numerical characters are not displaying but if I turn off -webkit-font-feature-settings: "kern" 1, "liga" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0;, the numbers appear (however the type is different and worse than it was with that turned on).

kennethormandy commented 9 years ago

Hey! Thanks for opening an issue.

I’m going to guess the font is saying it has proportional, old-style numerals, but the glyphs aren’t actually included for some reason. If removing the references to "pnum", "onum", "lnum", and "tnum" fixes it, the font is probably the cause.

I don’t know if there’s any way my project can get around or notify you of that, but I will investigate to see if that really is the issue and go from there.

Edit Also, thanks so much for describing the issue so well, it makes things way easier. Much appreciated!