Wolfgang, thanks for looking into it! does this mean there is some bug in CONTEXT/LuaTeX font loading or something wrong with the font? i looked at the history on bitbucket mirror and the problem seems to have started when we moved from 2016-08-11 14:00:00 to 2016-08-15 22:45:00. the offending lines in tex/context/base/mkiv/font-ots.lua (line 3762) has kerns={ [1705]={ [2]={ 0, 0, -290, 0 }, }, [1707]={ [2]={ 0, 0, -290, 0 }, }, [1711]={ [2]={ 0, 0, -290, 0 }, }, [64400]={ [2]={ 0, 0, -290, 0 }, }, [64404]={ [2]={ 0, 0, -290, 0 }, }, [64469]={ [2]={ 0, 0, -290, 0 }, }, [65243]={ [2]={ 0, 0, -290, 0 }, }, [983071]={ [2]={ 0, 0, -290, 0 }, }, } and with k, v = 1705, { 0, 0, -290, 0 }, we want to dereference v[1][3], which leads to an error. prior to this change, the code was looking up v[3] (which would result in nil but no further dereferencing to cause an error). i checked that this part of the table was the same with the previous version (from 08-08). —MHB On Mon, Aug 22, 2016 at 11:45 AM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote: > Mohammad Hossein Bateni > 22. August 2016 um 17:01 > Hello, > > After the upgrade to latest beta (from 08.08 21:28), I cannot load many of > my Persian fonts (one uploaded here > for testing). It works on "current" without any issues but not on "beta". > Find an MWE as well as the error message below. (I did test on a fresh > standalone version as well.) > > > \starttext > \definedfont[HMXNiloofar*arabic] > Salam > \stoptext > > > When I change the value from the "hasspacekerns" variable (after deleting > hm-xniloofar.tmc) in hm-xniloofar.tma from true to false the font is loaded > without errors. > > > hm-xniloofar.tma (line 7147 ff): > > ["properties"]={ > ["hascolor"]=false, > ["hasitalics"]=false, > ["hasspacekerns"]=true, > }, > > > Wolfgang > > ____________________________________________________________ > _______________________ > 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 > ____________________________________________________________ > _______________________ >