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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to