Hi!
I have two questions regarding addressing glyphs in Lua:
1) How to address glyphs in slots as e.g. U+F0029? 2) How to address glyphs by name?
Use:
\startluacode fonts.handlers.otf.addfeature { name = "foo", type = "substitution", data = { [0xF0029] = 0xF0030 }, -- ← doesn't work } \stopluacode
On 10/9/2018 10:40 PM, Marco Patzer wrote: this is a mnwe .. make a mwe with at least a font ... anyway, glyph names should normally work (given that they are sane ones, because in context we strip some) (messing with badly names privates is asking for troubles) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------