On 2025-01-20 at 15:26:47 +0100, Petr Olsak wrote:
Thank you very much for testing.
I didn't use such tools. I am watching the terminal when fonts are downloaded (at the end of the document) and I notice the delay per each Besley fonts downloaded from ~/texmf. Sure, it is observable. It looks like waiting for some kind of time limit.
Unfortunately, questions remains: why behavior of Lua garbage collector differs in luatex and luahbtex when the programs have to do the same?
When we copy the fonts from ~/texmf/fonts to current directory:
cp ~/texmf/fonts/opentype/besley/* .
and run the test, then the unwanted delay with luahbtex disappears. It seems that this has something to do with file searching from TeXmf tree. Garbage collector behavior differs when files are in in different locations?
To trace file searching you can set the environment variable KPATHSEA_DEBUG=32 Regards, Reinhard -- ------------------------------------------------------------------ Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha@gmx.de ------------------------------------------------------------------