Page 1 of 1

Opentype insufficiency about mark (mark to base)

Posted: Thu Oct 27, 2022 10:02 pm
by tesbihhan
In my Arabic font project I use cursive attachments.
And i decompose mark and base
Bases moves upper when adding new characters generally.
Marks moves upper with base glyphs too. Because we can only use mark to base value.
When base moves upper marks moves upper normaly.
I want to immobilize marks under baseline.
Ekran görüntüsü 2022-10-28 010031.png
Ekran görüntüsü 2022-10-28 010031.png (56.11 KiB) Viewed 1329 times
i pointed marks with orange
1. line is what i want to
2. line is what happens now.

Re: Opentype insufficiency about mark (mark to base)

Posted: Sat Oct 29, 2022 7:43 am
by Erwin Denissen
I can't come up with a solution. I will ask on twitter.

Re: Opentype insufficiency about mark (mark to base)

Posted: Sat Oct 29, 2022 12:58 pm
by Erwin Denissen
I received a reply on twitter from John Hudson:
Only contextually: you have to adjust the mark down based on the context of the preceding and following glyph(s). @simoncozens has tools to help with this.
You might want to contact Simon or post at typedrawers.com.

Re: Opentype insufficiency about mark (mark to base)

Posted: Sat Oct 29, 2022 11:44 pm
by Erwin Denissen
And another promising reply from Kamal Mansour:
There's a relatively straightforward solution. Create a variant of each lower mark that has NO anchor, but is naturally positioned at the desired level below the baseline. When you find the context of [Dal, initial Beh, lower_mark], replace the mark with the fixed-position mark.