Re: [NTG-context] How to query fonts.handlers

2019-02-05 Thread Henri Menke
I found a solution. \startluacode fonts.handlers.otf.addfeature { name = "ktest", type = "kern", data = { ["t"] = { ["e"] = 500 }, } } \stopluacode \definefontfeature[ktest][ktest=yes] \definefont[1][Serif*ktest] \starttext \1 test \ctxlua{ local fnt = font.current

[NTG-context] How to query fonts.handlers

2019-02-05 Thread Henri Menke
Dear list, I am trying to access extra kerning that I have defined using fonts.handlers.otf.addfeature. Even though I query the kerning from within a paragraph where the kerning is evidently applied I can't seem to get the value stored earlier, see the comment in the MWE. What am I doing wrong?