Cursive attachment Problem in Arabic Font

Primary tabs

4 posts / 0 new
Last post
Zuhair Albazi's picture
Offline
Joined: 7 Apr 2009 - 3:53pm
Cursive attachment Problem in Arabic Font
0

I am facing a problem in cursive attachment in an arabic font. I apply mark positioning on a certain character but when I join this character with other words by cursive attachment the marks remain on their previous level.

For example I made a "yehfinal" and adjusted marks on it. When this yehfinal remain at its level then the marks appear at right places as shown in first word on the right side of the image. But when I attach this yehfinal with other characters (above or below yehfinal's original level) through cursive attachment, the character yehfinal appears at the required adjusted level but the marks remain at their previous level and as a result collide with characters as shown in the second word on the left. In the image it is clear that the yehfinal in the second word (on left side) is a little lower than the first word (on right side) and as a result the marks collide with Ijam.

Is there a way to solve this problem? i.e. the mark position changes according to the glyph level.

John Hudson's picture
Offline
Joined: 21 Dec 2002 - 11:00am
0

You need to order your GPOS lookups so that mark positioning comes after cursive attachment lookups. The recommended order for GPOS feature lookups is kern, curs, mark, mkmk. If the mark lookups precede the curs lookups, the marks will not be positioned relative to the curs shifted bases.

Khaled Hosny's picture
Offline
Joined: 29 Aug 2007 - 4:57am
0

You have to order mark lookups after curs one, just like John is saying, although I don't think every OpenType layout engine requires this (e.g. HarfBuzz will position marks correctly regardless of lookup order).

Jawad Khan's picture
Offline
Joined: 17 Dec 2012 - 12:09am
0

I am interested in this font. Could you please let me know which Arabic font is this? and where can I get it?
Thanks