On 5/9/2013 9:45 AM, "H. Özoguz" wrote:
The font is fine with other
OpenType engines as well, e.g. HarfBuzz, so it is probably a ConTeXt
issue.

Yes, the font is fine with OpenOffice, too.
It would be really great, if this could be fixed in context, so one
could typeset quran (and other traditional arabic) professionally. Would
be very valuable!

I uploaded a beta that might fix it, but it needs more testing. The issue might have been introduced when support was added for more complex ligature building, compare for instance this:

\starttext

\def\sample{نَسْتَعِينُ وَلَا الضَّالِّينَ}
\def\sample{نَسْتَعِينُ}
\def\sample{\Uchar"0643\Uchar"0644\Uchar"0651\Uchar"0627\Uchar"064E}

\setvariables
  [otftracker]
  [font=file:uthmantn1ver10.ttf,
   size=24pt,
   features=arabic,
   direction=-1,
   title=Feature Check,
   sample=\sample]

\page

\setvariables
  [otftracker]
  [font=file:arabtype,
   size=24pt,
   features=arabic,
   direction=-1,
   title=Feature Check,
   sample=\sample]

\stoptext

(So Kai needs to run some of his tests.)

Hans

ps. some of the somewhat complex implementation will be redone when we have a pending extension to glyph nodes in the engine done.

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | 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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to