Yanrui Li wrote:
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

\song 测试

The process of compiling stops here:

!load otf       : loading:
/usr/share/fonts/adobe/AdobeSongStd-Light.otf (hash:
!load otf       : file size: 16229772
!load otf       : enhancing ...

that's only the first time

                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
If your question is of interest to others as well, please add an entry to the 

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