Hans and Otared, thanks a lot for your attention. I do appreciate your
time.
Otared:
The fallback was called "dejavudefault" on my machine when I was testing
it. I changed the name in the email, to make the lines shorter, but
apparently I missed some instances—sorry—and that made it to the version I
uploaded also.
Hans:
I'm really sorry for wasting your time with these low-quality fonts... but
unfortunately these are among the few open-source Farsi fonts, and they are
simple enough to be extendible. The font designer is not a professional,
but accepts bug reports, suggestions, etc. So I spend some time finding
issues and fixing/reporting them.
Could you explain a bit about the "identifying as a math font" part? What
is the sign of that? To fix it, should I remove all the math-related
fields in the font? Was the math thing only in the regular font or also in
bold? Because I noticed the problem only in the regular shape.
On Sat, May 27, 2017 at 7:34 AM, Hans Hagen
On 5/27/2017 11:39 AM, Otared Kavian wrote:
Hi Mohammad Hossein,
Your report is beyond my knowledge, but I would like to ask you a question about the setup of fallback fonts: why are you referring to « dejavudef » in the commands such as
\definefontsynonym [SahelBd] [SahelBold][features={arabic, tlig},fallbacks=dejavudef]
while you have defined before « dejavudefault » (and not « dejavudef ») in:
\definefontfallback[dejavudefault][dejavusans] [range=generalpunctuation,check=yes,force=no]
indeed. but on top of that, the font reports itself as a math font so that confuses the fallback mechanism (we have fundamental different approaches for math and text fonts) ... i'll try to deal with it but to some extend consider spending time on crappy fonts a bit of a waste
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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/list info/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________