[luatex] [luaotfload & fontspec] trunk errors

Khaled Hosny khaledhosny at eglug.org
Tue Mar 30 14:35:49 CEST 2010


On Tue, Mar 30, 2010 at 11:12:38AM +0800, Diederick C. Niehorster wrote:
> This leads me to another point, for Khaled I guess. When I try to
> compile with Futura Std (or Adobe Caslon Pro / Adobe Garamond Pro for
> that matter), I get errors in fontspec (I think). last part of the log
> so you can see how far it gets (with XeTeX it compiles fine):
> 
> -----
> Defining \msg_text > fontspec/set-scale:xxxx on line 1844
> Defining \msg_text > fontspec/setup-math:xxxx on line 1848
> 
> fontspec.cfg loaded.
> (./fontspec.cfg))
> ! LuaTeX error ...9/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua:85: atte
> mpt to compare nil with number.
> <to be read again>
>                    \let
> l.17 ...ing=tex-text,Ligatures=Common]{Futura Std}
> -----

I only have Futura Std here and your document compiles just fine. BTW,
`Mapping=tex-text` makes no sense with luatex, better use `Ligatures=TeX`
which will internally do the 'right thing' for luatex and xetex.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the luatex mailing list