Re: [NTG-context] question about fonts.handlers.otf.addfeature
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 ___
Re: [NTG-context] question about fonts.handlers.otf.addfeature
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 ae examples in the test suite of pairwise or single positioning -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 ___
[NTG-context] question about fonts.handlers.otf.addfeature
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? 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 ___