The code snippet at the end used to work a few months ago when I reported a rendering bug. But now the font does not load and I see the following error. (It's not an issue with simplefonts because \definedfont[KFGQPCUthmanTahaNaskh*arabic] does not work either. the font is published
here.
close source > 3 > 4 > /Users/bateni/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefonts.mkiv
lua error > lua error on line 4 in file /private/tmp/test-q.tex:
...ntext/tex/texmf-context/tex/context/base/mkiv/l-lpeg.lua:290: bad argument #2 to '__div' (invalid replacement value)
stack traceback:
[C]: in function '__div'
...ntext/tex/texmf-context/tex/context/base/mkiv/l-lpeg.lua:290: in function 'splitter'
...ext/tex/texmf-context/tex/context/base/mkiv/font-otc.lua:159: in function 'addfeature'
...ext/tex/texmf-context/tex/context/base/mkiv/font-otc.lua:730: in function 'enhancer'
...ext/tex/texmf-context/tex/context/base/mkiv/font-con.lua:1269: in function 'enhance'
...ext/tex/texmf-context/tex/context/base/mkiv/font-con.lua:1291: in function 'apply'
...ext/tex/texmf-context/tex/context/base/mkiv/font-otl.lua:246: in function 'load'
...ext/tex/texmf-context/tex/context/base/mkiv/font-otl.lua:538: in function 'otftotfm'
...ext/tex/texmf-context/tex/context/base/mkiv/font-otl.lua:566: in function <...ext/tex/texmf-context/tex/context/base/mkiv/font-otl.lua:565>
(...tail calls...)
...ext/tex/texmf-context/tex/context/base/mkiv/font-def.lua:304: in function 'loadfont'
...ext/tex/texmf-context/tex/context/base/mkiv/font-ctx.lua:492: in function 'loadfont'
...ext/tex/texmf-context/tex/context/base/mkiv/font-def.lua:418: in function 'read'
...ext/tex/texmf-context/tex/context/base/mkiv/font-ctx.lua:1172: in function <...ext/tex/texmf-context/tex/context/base/mkiv/font-ctx.lua:1059>
(...tail calls...)
1 \setuppapersize[A5]
2
3 \usemodule[simplefonts]
4 >> \setmainfont[KFGQPC Uthman Taha Naskh][features=arabic,range=arabic]
5 \setcharacterstripping[1]
6 \setupinterlinespace[line=7ex]
7
8 \setupdirections[bidi=on,method=one]
9 \setupalign[r2l]
10
11
12 \starttext
13
14 \tfb