Wolfgang Schuster wrote: > 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
hm, you need to to test shared before using it, so it really is: function fonts.otf.set_dynamics(tfmdata,attribute,features) local shared = tfmdata.shared if shared then local dynamics = shared.dynamics i wonder what you tested -) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________