While \definefontfamily method works, I can't get the \definedfont method to work. \setupalign[r2l] % this works %\definefontfamily[mainfont][rm][KFGQPC Uthman Taha Naskh][features=arabic] %\setupbodyfont[mainfont] \starttext \definedfont[KFGQPCUthmanTahaNaskh*arabic] سلام \stoptext It complains that the font is not found. fonts > defining > font with asked name 'KFGQPCUthmanTahaNaskh' is not found using lookup 'file' fonts > defining > unknown font 'KFGQPCUthmanTahaNaskh', loading aborted fonts > defining > unable to define 'KFGQPCUthmanTahaNaskh' as 'thedefinedfont--0' On Sun, Aug 21, 2016 at 11:49 AM, Mohammad Hossein Bateni wrote: > remaking the format produced no change but removing those files from the > cache did solve the problem. > > thanks a lot! > > On Sun, Aug 21, 2016 at 9:59 AM, Wolfgang Schuster < > schuster.wolfgang@gmail.com> wrote: > >> Mohammad Hossein Bateni >> 21. August 2016 um 12:53 >> Hello, >> >> 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 >> >> . >> >> Remake the format (context --make en) or delete the font entries >> (uthmantn1-ver10.tma|tmc) in the cache ($TEXMF/texmf-cache/luatex-cache/context//fonts/otl/). >> Please try both suggestions and report which of them helped. >> >> BTW: The simplefonts module has been replaced with the \definefontfamily >> command (different syntax but included in the core). >> >> %%%% begin example >> \definefontfamily[testfont][rm][KFGQPC Uthman Taha >> Naskh][features=arabic] >> >> \setupbodyfont[testfont] >> >> \starttext >> ... >> \stoptext >> %%%% end example >> >> 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/list >> info/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> ____________________________________________________________ >> _______________________ >> > >