[NTG-context] question about fonts.handlers.otf.addfeature

Pablo Rodriguez oinos at gmx.es
Thu Dec 6 23:21:56 CET 2018


On 12/6/18 11:03 PM, Hans Hagen wrote:
> On 12/6/2018 9:55 PM, Pablo Rodriguez wrote:
>> Dear list,
>>
>> as far as I know, fonts.handlers.otf.addfeature has the following types:
>> substitution, alternate, multiple, ligature, kern and chainsubstitution.
>>
>> Is there a type of feature that simply moves a single glyph when activated?
> 
> i think that there are examples in the test suite of pairwise or single 
> positioning

You are right, Hans.

\startluacode
    fonts.handlers.otf.addfeature {
        name = "stest",
        type = "single",
        data = {
            a = { -500, 0, -500, 0 },
        }
    }
\stopluacode

Sorry, but I forgot to consider the test suite.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list