ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [luatex-fonts] error with Amiri due to inclusion of font-otp.lua
@ 2013-04-23 22:02 Philipp Gesang
  2013-04-23 22:20 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Philipp Gesang @ 2013-04-23 22:02 UTC (permalink / raw)
  To: ConTeXt ML; +Cc: Élie Roux


[-- Attachment #1.1: Type: text/plain, Size: 719 bytes --]

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


[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [luatex-fonts] error with Amiri due to inclusion of font-otp.lua
  2013-04-23 22:02 [luatex-fonts] error with Amiri due to inclusion of font-otp.lua Philipp Gesang
@ 2013-04-23 22:20 ` Hans Hagen
  2013-04-24 17:20   ` Philipp Gesang
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2013-04-23 22:20 UTC (permalink / raw)
  To: ConTeXt ML, Élie Roux

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [luatex-fonts] error with Amiri due to inclusion of font-otp.lua
  2013-04-23 22:20 ` Hans Hagen
@ 2013-04-24 17:20   ` Philipp Gesang
  0 siblings, 0 replies; 3+ messages in thread
From: Philipp Gesang @ 2013-04-24 17:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Élie Roux


[-- Attachment #1.1: Type: text/plain, Size: 1068 bytes --]

···<date: 2013-04-24, Wednesday>···<from: Hans Hagen>···

> 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


[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-24 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-23 22:02 [luatex-fonts] error with Amiri due to inclusion of font-otp.lua Philipp Gesang
2013-04-23 22:20 ` Hans Hagen
2013-04-24 17:20   ` Philipp Gesang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).