On 3-11-2010 3:46, Khaled Hosny wrote:
On Wed, Nov 03, 2010 at 09:29:39AM +0800, Li Yanrui (李延瑞) wrote:
Hi Hans,
It seems like the char-def.lua code is not merged into luatex-fonts-merged.lua. It causes:
! LuaTeX error ...-context/tex/generic/context/luatex-fonts-merged.lua:5690: attempt to index global 'characters' (a nil value)
Also (after deleting that line since "chardata" is not actually used anywhere), node mode does not seem to work:
\input{luatex-fonts}
\font\testa={file:xits-regular:mode=node;+liga} at 45pt \font\testb={file:xits-regular:mode=base;+liga} at 45pt \testa fi fl ffi ffl\par \testb fi fl ffi ffl\par \bye
I uploaded a version without the chardata reference Anyhow, I do see ligatures here so I wonder what goes wrong at your end. ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------