[luatex] luaotfload | Updating the font names database:.../2010/texmf-dist/tex/luatex/lualibs/lualibs-file.lua:75: stack overflow

Khaled Hosny khaledhosny at eglug.org
Sun Feb 27 23:30:55 CET 2011


On Sun, Feb 27, 2011 at 10:21:34PM +0100, Peter Dyballa wrote:
> >> The script seems to catalogue some font files more often than once:
> >>
> >> 	luaotfload | loading font: /Library/Fonts/Extrafonts/Vera.ttf
> >> 	luaotfload | loading font: /Library/Fonts/Extrafonts/Vera.ttf
> >> 	luaotfload | loading font: /Library/Fonts/Extrafonts/Vera.ttf
> >> 	luaotfload | loading font: /Library/Fonts/Extrafonts/Vera.ttf
> >> 	luaotfload | loading font: /Library/Fonts/Extrafonts/Vera.ttf
> >>
> >> Is this necessary?
> >
> >Do you have OSFONTDIR set? may be the file is returned several
> >times by
> >kpse e.g. one when asking for opentype fonts and one for truetype
> >fonts,
> >but then you shouldn't see those lines in succession.
> When I browsed through the output generated by mkluatexfontdb I saw
> that it again and again accessed the same fonts. Then I filtered the
> output with sort and cited a very small block. They were certainly
> not issued in succession.

The code usually don't reload an already saved font (or so I guess, I've
to check the code again) but usually the "loading" message is issued too
early so it don't usually mean the font got actually read again.

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
 Arab


More information about the luatex mailing list