On Wed, Apr 9, 2008 at 12:17 PM, Taco Hoekwater wrote:
Mojca Miklavec wrote:
systems : end file a at line 9 ){/Users/mojca/context/tex/texmf/fonts/enc/dvips/tex-gyre/q-ec.enc} ! Emergency stop. <*> a.tex
fclose: Bad file descriptor fclose: Bad file descriptor ! ==> Fatal error occurred, no output PDF file produced!
My luatex happily reports
{/opt/tex/texmf-local/fonts/map/dvips/tex-gyre/qpl-ec.map}
fonts : using map file: original-youngryu-px {/opt/tex/texmf-project/fonts/map/pdftex/context/original-youngryu-px.map} [1.1] systems : end file pal at line 6 )
Here it seems it doesn't load the encoding file because it loads ec-qplr:afm (unicode encoding), yours probably loads ec-qplr:tfm (ec encodign).
I have indeed removed all the afm files from the font, if that's part of your question.
Perhaps qplr.pfb is missing?
I have it on the disk, but it doesn't get so far to load it (maybe because it crashes before, or I don't know).
The crash could be a luatex bug then, it is definately possible there is an incorrect fclose(NULL) somewhere when the enc is there but the pfb isn't. Can you try that please?
qplr.pfb is there, but even if I remove it :) nothing changes.
The actully using pfb instead of otf sounds like a mkiv problem.
mkii as well. The same problem happens in XeTeX (not with fclose, but alone the fact that the old fonts are used instead of otf). Mojca