-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contextual substitution Beginning does not work like kerning classes #172
Comments
Yes, the beginning is a character sequence not a class. Could mark classes be a solution? |
Thank you for the quick reply. I am new to Birdfont so I might be misunderstanding this, but from what I can see in the manual mark classes are used to position a glyph relative to another for diacritics, not for replacing one glyph with another based on surrounding characters. For my (simplified) use-case I need each vowel to resolve to 3 different glyphs based on the preceding character. One of these 3 glyphs is a diacritic for some vowels and for that I plan to use mark classes, but before that I need to convert the vowel to the right glyph. So I am looking for a way to type e.g Edit I see that the birdfont save-file is XML, so in the worst case I could just all all rules programmatically myself. Still, GUI for this would be less clutter. |
Thanks I will look into that later. It is not something I have added support for in Birdfont at this time. |
OS: Linux x86_64
Birdfont version: 6.7.1 (installed via the flatpak from the website)
tldr: Contextual substitution beginning field does not specify a character class, but an exact sequence needed. This is not intuitive (to me) and contrary to the manual. How can I specify a kerning-like class here?
Greetings, I am trying to make a font for an abugida with initial and isolated vowel forms. In other words, a vowel will have three forms. Initial: Ox, combining: xO, and isolated when not preceded by a valid consonant: xaO).
I am trying to use contextual substitution to handle these vowel forms. I want a rule that converts the initial form to a combining form when preceded by a consonant, so per the manual I tried to setup the following rule:
Ligature: o.combining
Beginning: b c
Middle: o
End:
However, this does not work. In the spacing view, whenever I type
bo
orco
, theo
does not get substituted. Only when I type exactlybco
does theo
get substituted. This looks like the Beginning field does not specify a character class, but rather an exact character sequence. So I would need one rule per consonant-vowel combination.The text was updated successfully, but these errors were encountered: