![](https://secure.gravatar.com/avatar/2259586bbe3f45ed8564afe9bd7a8439.jpg?s=120&d=mm&r=g)
2009/11/20 Wolfgang Schuster
Am 20.11.2009 um 11:45 schrieb Thomas A. Schmitz:
Hi Hans, all,
the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box:
mtxrun --script fonts --list --pattern="*gentium*" ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil)
Any pointers?
1. delete the luatex cache 2. luatools --selfupdate mtxrun --selfupdate 3. luatools --generate
I did so and solved this problem. However I can not use Chinese OTF fonts such as 'AdobeSongStd-Light.otf', because luatex need very very large memory to load it in the stage of *enhancing* . This is a test file: \definefont[song][name:adobesongstd] \starttext \song 测试 \stoptext The process of compiling stops here: !load otf : loading: /usr/share/fonts/adobe/AdobeSongStd-Light.otf (hash: adobesongstd-light) !load otf : file size: 16229772 !load otf : enhancing ... ^C -- Best regards, Li Yanrui