OpenType substitution: many to many (replace sequence by another sequence)
Comments
-
lookup firstSub { sub f' f by f.alt1; } firstSub; lookup secondSub { sub f.alt1 f' by f.alt2; } secondSub;1 -
You can replace one by one, many by one or one by many. If you want to replace many by many, you need to do a series of contextual lookups, exchanging one glyph at a time, as Paul shows.1
-
You probably want a higher level representation of the many to many substitution and have a program spool it out into the series of lookups Adam describes.
https://github.com/davelab6/dancingshoes is one such high level representation, by Yanone. Glyphs 2 (in beta, available to users who register for a license directly not via appstore) seems to has a similar high level representation, since it auto-generates the feature code for eg Arabic, Thai and Devanagari fonts, based on the glyphs available
0
Categories
- All Categories
- 47 Introductions
- 4K Typeface Design
- 496 Type Design Critiques
- 587 Type Design Software
- 1.1K Type Design Technique & Theory
- 674 Type Business
- 897 Font Technology
- 29 Punchcutting
- 542 Typography
- 127 Type Education
- 333 Type History
- 82 Type Resources
- 114 Lettering and Calligraphy
- 33 Lettering Critiques
- 81 Lettering Technique & Theory
- 571 Announcements
- 100 Events
- 116 Job Postings
- 171 Type Releases
- 183 Miscellaneous News
- 270 About TypeDrawers
- 54 TypeDrawers Announcements
- 114 Suggestions and Bug Reports

