On Sun, 05 Apr 2009 15:24:36 -0600, Hans Hagen <[email protected]> wrote:
Khaled Hosny wrote:
The font seems to have a buggy (too big) GPOS kerning table (it does
cause
fontforge to hang writing the font). If 'kern' is set to 'yes', I get
this
error:
...text/tex/texmf-context/tex/context/base/node-inj.lua:62:
attempt to index local 'kb' (a nil value)
I had to put if..then around that line to suppress the error, may be
some checks are needed for such broken fonts.
i don't get that error (might be catched already in my version) but
indeed the font has weird kerning
The VOLT sources for Adobe Arabic are freely available:
http://blogs.adobe.com/typblography/2007/06/adobe_arabic_sa.html
Looking at the kerning, it appears at first glance to be contextual single
adjustment kerning that's messing things up. Will make some test files
this week <sigh>. Basically, Single Adjustment uses the advance width
parameter alone, with dx/dy=0. This should move the right sidebearing of
an initial arabic char to the right while leaving the left one alone. In
pair adjustment Arabic kerning generally sets dx=c=width. mkiv supports
the latter but not the former. I'll continue this discussion with Hans off
list. It's a weird font -- all due respect to Tim Halloway the designer
*** -- but very complete in many ways. A good test case for mkiv.
Best wishes
Idris
*** Arabic Palatino by Zapf looks really weird too.
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________