|
|
|
|
|
by codyrobbins
5278 days ago
|
|
I am completely, wholeheartedly, emphatically, and unabashedly in favor of finally bringing control over OpenType features to CSS—finally!! But this syntax they’ve come up with is an absolute horrifying mess. Ugh. Please say it ain’t so! font-feature-settings: "smcp=1”;
font-feature-settings: "swsh=1,cswh=1”;
Seriously—that’s how you get small caps and swash? Seriously?? These look like optimization flags for a C compiler, not CSS.I’m guessing that these are probably mapping through to the underlying OpenType features directly somehow to support arbitrary aspects of a particular type, but it still needs to be less of a mess for the “normal” stuff. Why can’t it be something readable and self-documenting? font-features: small-caps, contextual-swash;
|
|