On Jan 2, 2008 10:11 AM, Hans Hagen
Wolfgang Schuster wrote:
On Tue, 01 Jan 2008 20:19:10 -0700 "Idris Samawi Hamid"
wrote: Dear consortium,
check this out:
============================================== % engine=luatex
\definefontfeature [oldstyle] [mode=node,language=dflt,script=latn,onum=yes,tnum=yes]
\setfontfeature{oldstyle}
\starttext 1234567890
\startitemize \item test \stopitemize
\stoptext ==============================================
in font=otf.lua, patch ...
function fonts.otf.set_dynamics(tfmdata,attribute,features) local shared = tfmdata.shared if shared then
you forgot "local dynamics", the following works function fonts.otf.set_dynamics(tfmdata,attribute,features) local shared = tfmdata.shared local dynamics = shared.dynamics if shared then
end end
and remake
Wolfgang