[luatex] using fea files in plain TeX

Khaled Hosny khaledhosny at eglug.org
Fri Jul 10 14:22:08 CEST 2009

On Fri, Jul 10, 2009 at 09:58:27PM +1000, Vafa Khalighi wrote:
> How do you usually use feature files in luatex. I have followed the instruction
> at wiki. but it seems I can not use it in Plain TeX. I have attached the files
> and the error I get is:
> This is LuaTeX, Version beta-0.40.3-2009060821 (Web2C 2009)
> (test.tex <luatex-fonts-merged.lua> <luatex-fonts.lua loaded in 0.020 seconds>
> ! LuaTeX error ...exmf/tex/luatex/luatex-fonts/luatex-fonts-merged.lua:1782: ba
> d argument #1 to 'lower' (string expected, got nil).
> <to be read again>
>                    \body
> l.11 ...calt;featurefile=palatino.fea at 14pt\body
> ?

The function load_featurefile() in font-otf.lua is passing one argument
to resolvers.find_file() while it needs a second argument. Passing an
empty second argument would help (or fixing resolvers.find_file() to
check for the existence of the second argument first).


 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://tug.org/pipermail/luatex/attachments/20090710/d6e864c2/attachment.bin>

More information about the luatex mailing list