Hi everybody.
I've made the following alphabet for a language I've created (I'll gladly tell you all about it in case anyone is interested) and now I'm trying to turn it into a font, make it typeable, so to speak.
It works very much like Arabic (the visual influence should also be obvious) in that it's cursive, with most letters changing their shape depending on their position. Differently from Arabic, there are six forms (isolated, initial, medial, final, pausal, isolated pausal) and it is left-to-right.
Now, I've bought FontCreator precisely because I read it offers a way to make this font work, and I have heard that OpenType and contextual substitution features exist, but I'm afraid I've absolutely no clue where to start. The six glyph variants are all there, made as SVGs in Inkscape, and I succeeded in importing at least the isolated forms into FontCreator and mapping them to glyphs, but how do I go from there? How do I arrive at typing indvidual letters and getting something like this?
I've had a rummage around this site and saw a bunch of examples with ligatures, lookups and a bit of code, but that didn't help me much. Not that writing code to get this done would be a problem.
Thanks in advance!
David
Arabic-style script with initial, medial etc. forms
Arabic-style script with initial, medial etc. forms
Last edited by Bhikkhu Pesala on Tue Jul 02, 2019 7:26 pm, edited 1 time in total.
Reason: Added images inline. Offsite images are less convenient.
Reason: Added images inline. Offsite images are less convenient.
-
- Top Typographer
- Posts: 9878
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Arabic-style script with initial, medial etc. forms
You may have to work out the code on your own as most of us don't use Arabic scripts.
This thread on creating a fraction feature demonstrates contextual substitutions.
This thread on creating a fraction feature demonstrates contextual substitutions.
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Arabic-style script with initial, medial etc. forms
Shaping engines will automatically perform init, medi, and fina features if it detects Arabic and other scripts that use these features.
Since you have invented your own "Script", it won't automatically work. You need to add custom OpenType layout features.
This forum topic is a good start:
How to make a contextual cursive font
Since you have invented your own "Script", it won't automatically work. You need to add custom OpenType layout features.
This forum topic is a good start:
How to make a contextual cursive font
Re: Arabic-style script with initial, medial etc. forms
Thank you, that does already help somewhat.
Looking at the code, I think I get the basic workflow... it's basically like:
I'll try this out as soon as I have the chance. It's almost guaranteed that I'll be back
Looking at the code, I think I get the basic workflow... it's basically like:
- Add all my glyphs to the font (via "Insert glyph"?) and name them in accordance with their position
- Put them into classes in the script
- Activate the feature "ContextualAlternates"
- Define lookups inside the feature
- Define substitutions inside the lookups.
I'll try this out as soon as I have the chance. It's almost guaranteed that I'll be back
-
- Posts: 42
- Joined: Mon May 05, 2008 8:28 am
- Location: England
- Contact:
Re: Arabic-style script with initial, medial etc. forms
What is pausal? Is it "before punctuation that indicates a pause" such as comma, stop etc?
Re: Arabic-style script with initial, medial etc. forms
https://en.wikipedia.org/wiki/Pausahonest.bern wrote: ↑Wed Jul 03, 2019 7:43 pm What is pausal? Is it "before punctuation that indicates a pause" such as comma, stop etc?
Basically, it's the form of the letter used at the end of a sentence, rather than just at the end of a word.