I guess this is a victory for the Visual OpenType Layout Feature Editor, as I don't really understand how to do this using code. What I wanted was for the lowercase r to be substituted with stylistic set 1 (ss01) after G and Y (and accented versions of these), but with stylistic set 2 after P and Q (and accented versions of these).
I created classes for PQ and GY (with the accented versions), and then added Contextual Alternates (calt) with chained context substitutions. The visual feedback on the Layout Feature Editor helped me to find a solution that worked by trial and error. I would not be surprised to learn that there's a better solution, but this does what I wanted without too much work.
Chaining Context Substitutions
-
- Top Typographer
- Posts: 9888
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
-
- Moderator
- Posts: 11193
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Chaining Context Substitutions
And visually designing such features can be fun; especially when the expected results come alive!
-
- Top Typographer
- Posts: 9888
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Chaining Context Substitutions
The Comparison Toolbar helped me to decide which other Capitals to add to each class and the Preview Toolbar shows how the full alphabet looks, each glyph followed by the appropriate alternate lowercase r.
Re: Chaining Context Substitutions
I just happened upon this thread, popped in out of curiosity. What a beautiful font you've done here, Bhikkhu -- and that's just going from the screenshots you've provided here!
Is this the "calligraphy" font that you had meant to show me before (in another thread)? I recall your showing me one, saying that it was a "calligraphy" font, but then when I looked what I saw was something more like a text font.
THIS one is certainly "calligraphic," though! Gorgeous! Very nice job you did here.
Is this the "calligraphy" font that you had meant to show me before (in another thread)? I recall your showing me one, saying that it was a "calligraphy" font, but then when I looked what I saw was something more like a text font.
THIS one is certainly "calligraphic," though! Gorgeous! Very nice job you did here.