[NTG-context] error in generic fontloader (upvalue 'getglyphdata')

Hans Hagen j.hagen at xs4all.nl
Sat Apr 13 16:41:52 CEST 2019


On 4/13/2019 4:18 PM, Ulrike Fischer wrote:
> Hans,
> 
> we think that line 206 and 207 in luatex-basics-nod.lua are faulty
> and lead to the error
> 
> attempt to call a nil value (upvalue 'getglyphdata')
> 
> 
> nuts.getglyphdata        = direct.getattr
> nuts.setglyphdata        = direct.setattr
> 
> should be
> 
> nuts.getglyphdata        = direct.get_attribute
> nuts.setglyphdata        = direct.set_attribute
> 
> or
> 
> nuts.getglyphdata        = nuts.getattr
> nuts.setglyphdata        = nuts.setattr
better make it

nuts.getglyphdata        = nuts.getattr
nuts.setglyphdata        = nuts.setattr

btw, it's just an abstraction and should make no difference for the 
generic handler (i removed some pre 1.10 stuff but i suppose you were 
already in post 1.07 mode)

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
-----------------------------------------------------------------


More information about the ntg-context mailing list