Am 09.02.2013 um 14:50 schrieb Philipp Gesang <[email protected]>:
> 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. I get the same error message when I try to build the font database but the font itself works. \starttext \definedfont[file:adobeheitistdregular.otf]Adobe Heiti Std Regular \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
