
On Wed, 9 Apr 2025 at 10:47, Patrick Gundlach
Thank you, Max.
Do you know (does anyone know) how to activate this callback?
I do
callback.register("glyph_stream_provider",function () assert(false) end)
but this never gets called.
I know nothing, but luaotfload registers a 3-arg function luatexbase.add_to_callback("glyph_stream_provider",function(id,index,mode) if id <= 0 then return "" end local stream = streams[id].streams if not stream then return "" end return stream[index] or "" end, "luaotfload.glyph_stream") in latex3/luaotfload/src/luaotfload-init.lua I suspect you can read that font loader code better than me so I won't attempt to trace where this actually gets called:-) David
Other callbacks seem to work fine.
I use this LuaTeX
This is LuaHBTeX, Version 1.22.0 (TeX Live 2025) Development id: 7673
Patrick
_______________________________________________ dev-luatex mailing list -- dev-luatex@ntg.nl To unsubscribe send an email to dev-luatex-leave@ntg.nl