On 31.01.2016 16:39, Jay Anderson wrote:
On Sun, Jan 31, 2016 at 6:52 AM, Simon Albrecht <simon.albre...@mail.de> wrote:
It definitely looks like a good way to go, except that I wouldn’t know how
to use multiple features at the same time. Would it be possible to input
font-features as a symbol list, i.e. (random example)
{ \override TextScript.font-features = onum.smcp 4-"foo" }
ossia
\markup { \override #'(font-features . (onum smcp)) "foo" } ?
Or at least as a list of strings.
Right they can be combined as a string:

\markup { \override #'(font-features . "onum,smcp") { Hello 0123456789 } }

But this isn't especially flexible or obvious with regards to
combining features (like you said). I'll think about your other
suggestions. Thanks.

Reading the docs for <http://ctan.org/pkg/fontspec> gave me more to think about: 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

Though, that would be even more complicated, I suppose.

Yours, Simon

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to