[Dev-luatex] Recalculating tail of the list in ligaturing callback

Hans Hagen j.hagen at xs4all.nl
Fri Nov 16 14:20:14 CET 2018


On 11/16/2018 1:54 PM, Marcel Krüger wrote:
>   ---- On Wed, 14 Nov 2018 15:26:43 +0100 Hans Hagen <j.hagen at xs4all.nl> wrote ----
>   > On 11/14/2018 2:42 PM, Marcel Krüger wrote:
>   >
>   > > Now `run_lua_ligkern_callback` always returns the tail parameter without change,
>   > > so I am pretty sure `tail` is never `null`.
>   >
>   > not true ... the callback can be any function and there doesn't have to
>   > be a tail returned .... if you want to recalculate, just make sure you
>   > return only head
> 
> Are you sure? The actual callback which `run_lua_ligkern_callback` calls does not return
> anything (or at least it's return values are ignored), so how would you influence the `run_lua_ligkern_callback` return value?
i'll put it on the to-be-checked list

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 dev-luatex mailing list