-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does luatex fail/crash when font.each() is used. #3
Comments
The problem is that the fontloader stores stuff in custom keys in the parameters table of the font. |
A failing context example is
which gives the error
|
`%%% test.tex for ii,vv in font.each() do recdump(ii,vv) end} |
This should no longer give an error with the current |
@u-fischer I've seen you updated |
@zauguin I only pulled the files from context and would like to avoid to have to change them manually as it would get lost with the next pull. Is there a sensible place in init or main for |
@u-fischer Sorry, I got the files mixed up and thought you copied some lines into luaotfload. @luigiScarso The fontloader overloads |
I only see luatex & context, and font.each was not used in context. |
@luigiScarso I think my question was not clear enough: Why is |
better ask to the ml -- I am currently using an older version, 2018.09.25 14:14, and I cannot update. |
Added |
See
https://github.com/u-fischer/luaotfload/blob/dev-2.9/bugs/factorbug.tex
(comments and links at the top). This is an extract from a part of the latex test suite.
With luatex 1.7 it gives "only" an lua error, luatex 1.9 crashes.
It should be documented how fonts can be accessed safely.
The text was updated successfully, but these errors were encountered: