Mohammad Hossein Bateni <mailto:[email protected]>
21. August 2016 um 18:06
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
When you don’t set a method ConTeXt looks for a file with the given name
which is equal to
\definedfont[file:uthmantn1wer10*arabic] ...
where I told ConTeXt to use the file method, another method which can be
used is the name
method which can be used like this
\definedfont[name:kfgqpcuthmantahanaskh*arabic] ...
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________