That would certainly fix the original problem but I still think that it would be nicer to change the engine here. Keeping almost everything in cached font tables except for the parameters table seems counterintuitive.
On 9/26/2018 12:07 PM, Marcel Krüger wrote: the problem is this: when you pass a font to tex it can save the table, in which case you can get it back as-is however, when you ask for a table the parameters will be rewritten now, it is indeed arguable, but then it's better *not* to update the parameters at all because after all, other values are also passed as they are (and they can be different too from the known values inside tex, e.g. rounded dimensions) ... so, i'll just remove the whole update which then also means that you don't get the updated parameters ... it's probably not a problem as no sane user will fetch a table for just that so, "each" and "getfont" will not update parameters any longer when a cached table is used and when one wants to know the ones really used in the engine "getparameters" is to be used; of course that table only has the few official ones, no additional keys known at the lua end (but someone using getfont or getparameters is not interested in those anyway) 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 -----------------------------------------------------------------