madskinner
Newbie
Karma: +0/-0
Posts: 1
|
 |
« on: 2009-10-12, 05:53:02 » |
|
Hi, I working on an arabic font and want my below marks to appear below the base char rather below shadda when they occur together, so that U+0628 U+0651 U+0650 will render with U+0650 below U+0628 and U+0651 above.
So far I've managed this by attaching the below mark to shadda and using a 'Pair Ajustment' lookup to offset the below mark below the base character specified in the context. While this has worked well, it requires a separate lookup for each form of the base character. I keep hitting an apparent maximum 254 lookups (i.e. add any lookup and compile fails, delete it and compile passes). Is this a real limitation or am I tripping over something else.
I suppose I could compose shadda + below mark to a ligature and decompose it to below mark + shadda. Then write a script to create empty ligature glyphs for every combination of base character glyph and all possble below marks. Then use compose and decompose to move the below mark infront of the base character. Attaching shadda to the preceeding base character after first attaching the base character to the preceeding below mark.
But I was hoping for something more elegant, such as a way to attach a mark to the preceeding base character while ignoring any intervening marks (except perhaps in the context). What is the best way (as in least work) to acheive this effect in the font.
Thanks.
|