On Wed, Nov 03, 2010 at 09:34:40AM +0100, Hans Hagen wrote:
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.
I updated minimals but still I get ligatures only with base mode, I even built the luatex-plain format and used luatex binary from minimals. If I process the file with context, I get ligatures in both cases. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer