* error in generic fontloader (upvalue 'getglyphdata')
@ 2019-04-13 14:18 Ulrike Fischer
2019-04-13 14:41 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Ulrike Fischer @ 2019-04-13 14:18 UTC (permalink / raw)
To: ntg-context
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
--
Ulrike Fischer
https://www.troubleshooting-tex.de/
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: error in generic fontloader (upvalue 'getglyphdata')
2019-04-13 14:18 error in generic fontloader (upvalue 'getglyphdata') Ulrike Fischer
@ 2019-04-13 14:41 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2019-04-13 14:41 UTC (permalink / raw)
To: news3, mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-13 14:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-13 14:18 error in generic fontloader (upvalue 'getglyphdata') Ulrike Fischer
2019-04-13 14:41 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).