W3C home > Mailing lists > Public > www-style@w3.org > February 2012

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

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Thu, 23 Feb 2012 10:55:43 +0100
Message-Id: <85A09A26-383D-4CC7-A6D7-35D4F4DD26E8@crissov.de>
To: www-style list <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:51 GMT