Page 1 of 1

How to use calt or rclt feature in fontcreator 11.5?

Posted: Sat May 11, 2019 9:44 am
by ikhlas
Hi guys.

i am new for font and make own Arabic font as test base to learning font-creator.
in may Arabic font each glyph contain more one than glyphs. such as Baa Initial shape are many shapes are but i don't know to connect them other fina or medial glyphs?
how to attach alternate shapes of baa initial to other fina or medial.
after study documentation About font features i want to use calt feature but i am not understand how to use it. how to replace basic glyph with other specific glyph in different attachment? Can any person guide me to right way?

Re: How to use calt or rclt feature in fontcreator 11.5?

Posted: Sat May 11, 2019 10:42 am
by Erwin Denissen
I have limited Internet access right now, but I think Cursive Attachment would do the trick.

Re: How to use calt or rclt feature in fontcreator 11.5?

Posted: Sat May 11, 2019 1:32 pm
by Bhikkhu Pesala
Moved to the support forum.

Re: How to use calt or rclt feature in fontcreator 11.5?

Posted: Sat May 11, 2019 3:22 pm
by Erwin Denissen
I've read your post again, and I'm not sure if curs is the way to go:
Cursive Positioning (curs) cursively positions adjacent glyphs by using entry and exit anchor points.

A chaining context allows you to replace a character if it is preceded or followed by specific characters.

A shaping engine will process calt after processing isol, init, medi, and fina, so keep that in mind.
If you want to substitute the default initial form of kaf-arab or keheh-arab if it is followed by either a medial or final form of beh-arab or seen-arab then this should do the trick:
InitKafAlt.png
InitKafAlt.png (14.23 KiB) Viewed 362 times

InitKafAlt_ref.png
InitKafAlt_ref.png (33.75 KiB) Viewed 362 times

And these glyph classes:

Code: Select all

class @glyphsinput ["kaf-arab.init" "keheh-arab.init"];
class @glyphslookahead ["beh-arab.fina" "beh-arab.medi" "seen-arab.fina" "seen-arab.medi"];
I'm still not sure if this is what you're looking for, so can you please be more specific, with some easy to understand examples of what you want to achieve?

Re: How to use calt or rclt feature in fontcreator 11.5?

Posted: Sat May 18, 2019 8:34 am
by ikhlas
I still do not understand brother. I send you a screen shot in substitution table which table select it.

2nd where you got 2nd screen shot? I saw the 2nd screen shot which you send first time when I add OpenType feature but now I forgot. Please help me...

3rd can I use access all alternate feature in my Arabic font to access all alternate glyphs?