Best way to do this substitution
Posted: Tue Jul 19, 2016 4:57 pm
Hi,
I have designed fonts before. Persian fonts. But I had never changed too much the OpenType features except the ligatures and intial, medial,... and diacritics and stuff like that.
But now I'm designing a Persian font with detached separated glyphs (like a Latin one).
And I have decided to do a {salt}. But it is a little complicated and I only do these things with the Open Type Designer, so maybe it is my lack of scripting capabilities.
It goes like this:
Substitute Kaf (only inital and medial) with a glyph I added myself to the Persian standard glyphs named _longKaf if all the next glyphs after Kaf are some glyphs gathered in a Class for example @NotDotAbove. Also do all of these just when users set the text to {salt}.
So I want to know which kind of substitution works better here and how? I did single sub, it worked but does the sub all the time.
Any help?
I have designed fonts before. Persian fonts. But I had never changed too much the OpenType features except the ligatures and intial, medial,... and diacritics and stuff like that.
But now I'm designing a Persian font with detached separated glyphs (like a Latin one).
And I have decided to do a {salt}. But it is a little complicated and I only do these things with the Open Type Designer, so maybe it is my lack of scripting capabilities.
It goes like this:
Substitute Kaf (only inital and medial) with a glyph I added myself to the Persian standard glyphs named _longKaf if all the next glyphs after Kaf are some glyphs gathered in a Class for example @NotDotAbove. Also do all of these just when users set the text to {salt}.
So I want to know which kind of substitution works better here and how? I did single sub, it worked but does the sub all the time.
Any help?