|
From: | Simon Albrecht |
Subject: | Re: OpenType Features |
Date: | Sun, 31 Jan 2016 17:23:37 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
On 31.01.2016 16:45, Simon Albrecht wrote:
we might even use an alist to allow for things like \override font-features.ligatures = #'(clig dlig hlig) or\override font-features.number-case = #'onum
This is also inspired by the list in <https://en.wikipedia.org/wiki/List_of_typographic_features#AAT_typographic_features>, which could serve as a model for an alist, where keys may have values of type list? (if, as with ligatures, multiple features can be combined), symbol-or-boolean? (if features are mutually exclusive, like letter case, number case or vertical position), or boolean?.
Downside of this approach: I don’t know of a way to override alists in markup.
Best, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |