[luatex] [luaotfload & fontspec] trunk errors

Diederick C. Niehorster dcnieho at gmail.com
Tue Mar 30 14:47:09 CEST 2010


On Tue, Mar 30, 2010 at 8:35 PM, Khaled Hosny <khaledhosny at eglug.org> wrote:
> 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

Hmm, I am having weird problem with luaotfload and the functions
therein. Some font in otfl-names.lua work, others don't... Also,
sometimes some trouble building otfl-names.lua. See the lualatex-dev
list for more on this issue, as it cropped up as part of fontspec
trouble.

Best,
Dee



More information about the luatex mailing list