Re: [css3-fonts] simplifying font-variant-ligatures, proposal 2

Sorry, I didn’t see this until after I replied to Christopher Slye.

John Daggett:
>  font-variant-ligatures: normal | inherit | no-ligatures
>    | [ common-ligatures || discretionary-ligatures || historical-ligatures ]
> 
>  normal                  == use defaults, both OpenType and font-specific
>  no-ligatures            == liga=0, clig=0, dlig=0, hlig=0
>  common-ligatures        == liga=1, clig=1, dlig=0, hlig=0 *
>  discretionary-ligatures == dlig=1
>  historical-ligatures    == hlig=1
> 
> The only situation this wouldn't cover would be one where an author explicitly wants to disable common ligatures but wants to enable only historical ligatures (or only discretionary ligatures).

These cases wouldn’t require ‘font-feature-settings’, though, because usually you could still do something like this:

  foo     {font-variant-ligatures: no-ligatures;}
  foo>bar {font-variant-ligatures: historical-ligatures /* or ‘discretionary-…’ */;}

Received on Thursday, 23 February 2012 09:56:12 UTC