I am creating a font in which certain marks require substitutions when they are applied to certain base letters. I can easily accomplish this with a chained context substitution. However, this substitution should occur even if there are intervening marks between the base letter and the mark in question, but the chained context substitution stops working in this case. Is there any way to make a substitution ignore all intervening marks?
Any advice would be greatly appreciated
How to Ignore Marks in a Chained Context Substitution
-
- Top Typographer
- Posts: 9878
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: How to Ignore Marks in a Chained Context Substitution
Moved topic from Tutorials to Support
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: How to Ignore Marks in a Chained Context Substitution
Make a class that contains the marks that require substitutions, then set that as Mark Filtering Set. This way all other marks between the base and those marks are ignored.
Re: How to Ignore Marks in a Chained Context Substitution
Thank you again for your assistance. I've managed to get it working thanks to your advice.
Here is an image to illustrate:
cā tsā ndyā | sā ppā swrā | ṭā jñā ṇṭyā
The hook on the top right of the first three glyphs, the large arch on top of the next three glyphs, and the curved ascender on the last three glyphs are all graphical variations of the long a vowel sign. The form that this sign takes is entirely governed by the base letter, regardless of how many other subscript signs there are.
Here is an image to illustrate:
cā tsā ndyā | sā ppā swrā | ṭā jñā ṇṭyā
The hook on the top right of the first three glyphs, the large arch on top of the next three glyphs, and the curved ascender on the last three glyphs are all graphical variations of the long a vowel sign. The form that this sign takes is entirely governed by the base letter, regardless of how many other subscript signs there are.