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
luaotfload hangs #55
Comments
It hangs in context too (at least on my machine and in the time frame I was willing to invest). Could you report the problem on the context list? |
In ConTeXt, TL 2019 pretest it works for me. It takes a lot of time for the first run but if the large font is in the cache it is a fast run.
On Linux and macOS, both TL2019 |
I tried both ConTeXt and LuaLaTeX, TL 2019 Pretest. In both cases, the processes needed more than 6GB of memory and therefore died. So I can not see any difference here which makes debugging quite hard. @hvoss49 How much memory is used by ConTeXt on the first run? |
I see the problem. On my macOS I have 16GB RAM but on my other machine "only" 8GB. |
Yes, but I assume that you will get the problem in context too on the linux machine so the problem should be reported there. |
The answer from Hans:
|
@ulrike: Can you use the "hack" from ConTeXt for the LaTeX world? |
If Hans added it to the generic fontloader and nothing else breaks it should work. I will try to make a new version this evening or tomorrow. |
I imported the files but the fontloader is broken. I get lua errors both with the merged and with the reference fontloader and also with the plain fontloader.
@zauguin can you take a look? The code is in the v2.9705-2019-04-12 branch. |
The table But I have no idea if this belongs to the table used in luaotfload-loaders |
@u-fischer That's not really the error, the problem is that a ConTeXt-only file is imported, breaking the remaining load process. I pushed a fixed version in a branch , basically it just replaces Currently this requires
before |
@zauguin a yes, I see the change now. |
@u-fischer I am now convinced that this is an upstream bug: In the generic fontloader,
This fails, because `direct.[sg]etattr is not defined, it should be either
or
(I do not thing Could someone report this on the ConTeXt list? Posting there is kind of cumbersome for me. |
@zauguin I will do it after I changed the files to use the new fonts-tfm and made some tests. Thanks for the investigation! |
not that I have any knowledge in this area, but in ConTeXt I found:
Is this different? |
I pushed a new version which corrects the bug manually. It is in the branch https://github.com/u-fischer/luaotfload/tree/v2.9705-2019-04-12. You can use the texmf there directly for tests. Your font worked okay for me with it with a 64bit binary, with 32bit I still get an error (but at least rather fast) when trying to create the luc/lua of the font (but the font can be used by copying the luc/lua from the 64bit system). |
Thanks, it is not fast on Linux, but it works ... and this was not possible
before with the complete document. There I have four
diffrent fonts.
Am Sa., 13. Apr. 2019 um 17:01 Uhr schrieb Ulrike Fischer <
notifications@github.com>:
… I pushed a new version which corrects the bug manually. It is in the
branch https://github.com/u-fischer/luaotfload/tree/v2.9705-2019-04-12.
You can use the texmf there directly for tests.
Your font worked okay for me with it with a 64bit binary, with 32bit I
still get an error (but at least rather fast) when trying to create the
luc/lua of the font (but the font can be used by copying the luc/lua from
the 64bit system).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMS0P8LsU92Ubj5YKgmcR3gHT4e2rNxRks5vgfFOgaJpZM4creGb>
.
|
version 2.97 will contain this code and has been uploaded to ctan. |
Example hangs if I enable the second font. It has 100% CPU load and nearly all of the memory.
The font files are here:
http://tug.org/~hvoss/Sparks-Bar-Medium.otf
http://tug.org/~hvoss/Sparks-Dotline-Medium.otf
up-to-date TL2019 pretest and Linux
It looks like a problem with the file size. All Sparks Dotline font have a size over 400 kByte:
The text was updated successfully, but these errors were encountered: