Hi all,
I’m not sure this is a Luatex or Context bug so please feel free
to forward this to the appropriate ML if necessary.
With the latest standalone (Luatex beta-0.74.0-2012122510,
Context 2013.02.05 22:32) the font db builder fails at Adobe
Heiti as distributed with acroread:
[14:33:17=>phg@phlegethon=> ~/tmp/ctx/fontdb] mtxrun --script fonts --reload
<... />
fonts | names | adding path from OSFONTDIR: /home/phg/.fonts
fonts | names | globbing path /usr/share/fonts/**.otftexlua:
../../../source/texk/kpathsea/cnf.c:255: kpathsea_cnf_get: Assertion
`kpse->program_name' failed.
Aborted (core dumped)
(Full log attached.) All fonts, even Adobe stuff, up until Heiti
are processed without complaint. I traced the issue to a call to
fontloader.open() in font-syn.lua, line 221. To reproduce it, run
this code through texlua:
#!/usr/bin/env texlua
ff = fontloader.open[[/usr/share/fonts/adobe/AdobeHebrew_Regular.otf]] -->
works
print(ff) --> userdata
ff = fontloader.open[[/usr/share/fonts/adobe/AdobeHeitiStd_Regular.otf]]
--> fails
print(ff)
The problem disappears if I initialize kpathsea first:
kpse.set_program_name"texlua"
...
The problem does not occur with TeX Live 2012/Luatex 0.70/Context
2012.05.30 11:26.
Can anyone else reproduce this? Thanks.
Philipp
fonts | names | warnings are disabled (tracker 'fonts.warnings')
fonts | names | identifying tree font files with suffix otf
fonts | names | scanning /home/phg/context/tex/texmf-project for otf
files
fonts | names | 6 entries found, 0 otf files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-fonts for otf
files
fonts | names | 6 entries found, 0 otf files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-local for otf
files
fonts | names | 43 entries found, 0 otf files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-modules for otf
files
fonts | names | 978 entries found, 0 otf files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-context for otf
files
fonts | names | 2167 entries found, 1 otf files checked, 1 okay
fonts | names | scanning /home/phg/context/tex/texmf-linux-64 for otf
files
fonts | names | 74 entries found, 0 otf files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf for otf files
fonts | names | 3532 entries found, 267 otf files checked, 267 okay
fonts | names | identifying tree font files with suffix OTF
fonts | names | scanning /home/phg/context/tex/texmf-project for OTF
files
fonts | names | 6 entries found, 0 OTF files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-fonts for OTF
files
fonts | names | 6 entries found, 0 OTF files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-local for OTF
files
fonts | names | 43 entries found, 0 OTF files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-modules for OTF
files
fonts | names | 978 entries found, 0 OTF files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-context for OTF
files
fonts | names | 2167 entries found, 0 OTF files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-linux-64 for OTF
files
fonts | names | 74 entries found, 0 OTF files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf for OTF files
fonts | names | 3532 entries found, 0 OTF files checked, 0 okay
fonts | names | 268 tree files identified, 56 skipped, 34 duplicates,
212 hash entries added, runtime 5.206 seconds
fonts | names | identifying tree font files with suffix ttf
fonts | names | scanning /home/phg/context/tex/texmf-project for ttf
files
fonts | names | 6 entries found, 0 ttf files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-fonts for ttf
files
fonts | names | 6 entries found, 0 ttf files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-local for ttf
files
fonts | names | 43 entries found, 0 ttf files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-modules for ttf
files
fonts | names | 978 entries found, 0 ttf files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf-context for ttf
files
fonts | names | 2167 entries found, 1 ttf files checked, 1 okay
fonts | names | scanning /home/phg/context/tex/texmf-linux-64 for ttf
files
fonts | names | 74 entries found, 0 ttf files checked, 0 okay
fonts | names | scanning /home/phg/context/tex/texmf for ttf files
fonts