[luatex-fonts] error with Amiri due to inclusion of font-otp.lua
Hi, including font-otp triggers an error with the Amiri font: ! LuaTeX error ./luaotfload-merged.lua:10471: invalid value (nil) at index 1 in table for 'concat'. Which corresponds to line 192 of font-otp.lua. Test code: \font\test={file:amiri-regular.ttf} \test ضرب \bye Or with Context: \mainlanguage[arabic] \definefontsynonym[amiri][file:amiri-regular.ttf] \starttext \definedfont[amiri*arabic at 42pt] \setupalign[r2l] ضرب 0123456789 \stoptext I have tested the Amiri files from TeX Live 2012 and 2013. Can somebody reproduce this, possibly with other fonts? Scheherazade works fine. Thanks for any advice Philipp
On 4/24/2013 12:02 AM, Philipp Gesang wrote:
Hi,
including font-otp triggers an error with the Amiri font:
! LuaTeX error ./luaotfload-merged.lua:10471: invalid value (nil) at index 1 in table for 'concat'.
Which corresponds to line 192 of font-otp.lua. Test code:
\font\test={file:amiri-regular.ttf} \test ضرب \bye
Or with Context:
\mainlanguage[arabic] \definefontsynonym[amiri][file:amiri-regular.ttf]
\starttext \definedfont[amiri*arabic at 42pt] \setupalign[r2l] ضرب 0123456789 \stoptext
I have tested the Amiri files from TeX Live 2012 and 2013. Can somebody reproduce this, possibly with other fonts? Scheherazade works fine.
works ok here .. maybe you need to delete an old cache Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
···
On 4/24/2013 12:02 AM, Philipp Gesang wrote:
Hi,
including font-otp triggers an error with the Amiri font:
! LuaTeX error ./luaotfload-merged.lua:10471: invalid value (nil) at index 1 in table for 'concat'.
Which corresponds to line 192 of font-otp.lua. Test code:
\font\test={file:amiri-regular.ttf} \test ضرب \bye
Or with Context:
\mainlanguage[arabic] \definefontsynonym[amiri][file:amiri-regular.ttf]
\starttext \definedfont[amiri*arabic at 42pt] \setupalign[r2l] ضرب 0123456789 \stoptext
I have tested the Amiri files from TeX Live 2012 and 2013. Can somebody reproduce this, possibly with other fonts? Scheherazade works fine.
works ok here .. maybe you need to delete an old cache
With the code from today it works, with Context as well as Luatex-Fonts. Thanks for fixing it. Philipp
participants (2)
-
Hans Hagen
-
Philipp Gesang