Am 2017-10-08 um 00:22 schrieb Hans Hagen
On 10/7/2017 9:21 PM, Pablo Rodriguez wrote: You need to define features before fonts get defined because we share font definitions and their features as much as possible
\startluacode fonts.handlers.otf.addfeature { name = "kernligatures", type = "kern", data = { f = { i = 50, l = 50 }, } } \stopluacode
\blockligatures[u:fl:a]
Now we can use them
\definefontfamily[mainfont][rm][Brill] \definefontfamily[mainfont][tt][Dejavu]
\setupbodyfont[mainfont]
\definefontfeature[default:b][default][blockligatures=yes] \definefontfeature[default:k][default][blockligatures=yes,kernligatures=yes]
Thank you very much, that helps! I’m working on a set of exceptions... Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD