![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------