I think that there is a wrong function name documented in the manual. The lfontlib.c C file exports a getcopy function: https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/blob/master/source/texk/web... diff --git a/manual/luatex-fonts.tex b/manual/luatex-fonts.tex index 136d20dd3..037d252ff 100644 --- a/manual/luatex-fonts.tex +++ b/manual/luatex-fonts.tex @@ -728,10 +728,10 @@ font.setfont(<number> n, <table> f) Note that at the moment, each access to the \type {font.fonts} or call to \type {font.getfont} creates a \LUA\ table for the whole font unless you cached it. -If you want a copy of the internal data you can use \type {font.copyfont}: +If you want a copy of the internal data you can use \type {font.getcopy}: \startfunctioncall -<table> f = font.copyfont(<number> n) +<table> f = font.getcopy(<number> n) \stopfunctioncall This one will return a table of the parameters as known to \TEX. These can be