Proof of Concept: Contextual Kerning UI for Glyphs 3
yanone
Posts: 130
All present-day font editors lack the option to define contextual kerning using a UI. I made a bunch of scriptlets that together form a tool to implement contextual kerning for Glyphs 3, hijacking the normal kerning user interface after a contextual kerning "mode" was activated.
It saves the contextual kerning values in Glyphs’ "Numbers" (named data points that can have different values per master) that can be referenced in feature code as variables ("Tokens"). This also works in glyphsLib.
The tool is usable, but I wish that font editors would one day implement such functionality natively, so I labelled it "Proof of Concept". If you run into any trouble using this, please let me know.
https://github.com/yanone/Yanone-GlyphsApp-Scripts/tree/main/Contextual Kerning
It saves the contextual kerning values in Glyphs’ "Numbers" (named data points that can have different values per master) that can be referenced in feature code as variables ("Tokens"). This also works in glyphsLib.
The tool is usable, but I wish that font editors would one day implement such functionality natively, so I labelled it "Proof of Concept". If you run into any trouble using this, please let me know.
https://github.com/yanone/Yanone-GlyphsApp-Scripts/tree/main/Contextual Kerning
9
Comments
-
brilliant idea! And thank your example on github (
pos L' space T -40
) I discovered that 'space' in most programs nowadays don't break contextual chain, like a years ago!
1 -
thanks to this thread I started trying contextual kerning and solved the problem of WWW.A WWW.H in my font. I can confirm that it works in Scribus, Firefox, Chrome, Inkscape (with small bug). Small thing and make me a day
3
Categories
- All Categories
- 40 Introductions
- 3.7K Typeface Design
- 793 Font Technology
- 1K Technique and Theory
- 609 Type Business
- 443 Type Design Critiques
- 535 Type Design Software
- 30 Punchcutting
- 135 Lettering and Calligraphy
- 82 Technique and Theory
- 53 Lettering Critiques
- 478 Typography
- 300 History of Typography
- 113 Education
- 65 Resources
- 492 Announcements
- 78 Events
- 105 Job Postings
- 148 Type Releases
- 160 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports