lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenType Features


From: Simon Albrecht
Subject: Re: OpenType Features
Date: Sun, 31 Jan 2016 16:45:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 31.01.2016 16:39, Jay Anderson wrote:
On Sun, Jan 31, 2016 at 6:52 AM, Simon Albrecht <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]