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
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 -----------------------------------------------------------------
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
participants (2)
-
Hans Hagen
-
Pablo Rodriguez