2009/11/20 Wolfgang Schuster <schuster.wolfg...@googlemail.com>:
>
> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

Reply via email to