Hello,
\addff (and \doaddfeature) no longer seem to work. What's the alternative
to add/remove features on the fly?
MNWE:
===
\starttext
\startluacode
fonts.handlers.otf.addfeature{
name = "fanum",
type = "substitution",
data = {
[0x30] = 0x41 -- '0' => 'A'
}
}
\stopluacode
\definefontfeature[fanum][fanum=yes]
{0123
%\addff{fanum}
\doaddfeature{fanum}
0123 %% does not work
\definedfont[dejavusans*fanum]
0123 %% works
} 0123
\stoptext
===
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________