The New Web Typography
I am completely, wholeheartedly, emphatically, and unabashedly in favor of finally bringing control over OpenType features to CSS—finally!!<p>But this syntax they’ve come up with is an absolute horrifying mess. Ugh. Please say it ain’t so!<p><pre><code>  font-feature-settings: "smcp=1”;
  font-feature-settings: "swsh=1,cswh=1”;
</code></pre>
Seriously—that’s how you get small caps and swash? Seriously?? These look like optimization flags for a C compiler, not CSS.<p>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.<p>Why can’t it be something readable and self-documenting?<p><pre><code>  font-features: small-caps, contextual-swash;</code></pre>