Opentype insufficiency about mark (mark to base)

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
tesbihhan
Posts: 41
Joined: Sun Jan 01, 2017 11:18 am

Opentype insufficiency about mark (mark to base)

Post 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 1229 times
i pointed marks with orange
1. line is what i want to
2. line is what happens now.
Erwin Denissen
Moderator
Moderator
Posts: 11151
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Opentype insufficiency about mark (mark to base)

Post by Erwin Denissen »

I can't come up with a solution. I will ask on twitter.
Erwin Denissen
High-Logic
Proven Font Technology
Erwin Denissen
Moderator
Moderator
Posts: 11151
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Opentype insufficiency about mark (mark to base)

Post 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.
Erwin Denissen
High-Logic
Proven Font Technology
Erwin Denissen
Moderator
Moderator
Posts: 11151
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Opentype insufficiency about mark (mark to base)

Post 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.
Erwin Denissen
High-Logic
Proven Font Technology
Post Reply