Rotating Alternates

Vasil Stanev
Posts: 783
I am searching for the code that is used in a font for the following:
I want to have a font that imitates handwriting, with 3-5 alternative versions of all Latin characters, and two consecutive alternates of a letter never appear one after the other - just like the human hand rarely writes the exact same letter twice. Does the size of the set matter in regard to the code?
I want to have a font that imitates handwriting, with 3-5 alternative versions of all Latin characters, and two consecutive alternates of a letter never appear one after the other - just like the human hand rarely writes the exact same letter twice. Does the size of the set matter in regard to the code?
0
Comments
-
1
-
Think about the general pattern of what you want: if an alternate appears after the same glyph, switch it for the next alternate in the set.
Then write (or script!) that:# When you see <alternate> <alternate>, replace the second one by <next alternate> # # sub <alternate> <alternate>' by <next alternate>; # # So for all alternates a.alt1, a.alt2, a.alt3, etc.: sub a.alt1 a.alt1' by a.alt2; sub a.alt2 a.alt2' by a.alt3; sub a.alt3 a.alt3' by a.alt1;
2 -
https://glyphsapp.com/learn/features-part-3-advanced-contextual-alternates (potentially helpful even if you don’t use Glyphs)https://opentypecookbook.com/common-techniques/ (scroll down to Fun Stuff)1
-
PabloImpallari said:
Grab the OT code from Caveat (3 alternates of each letter) https://github.com/googlefonts/caveat
Just curious, would taking the OpenType code from an OFL font require using that license for the new font?2 -
Ulrike Rausch's talk on Typo Labs 2018 deals with that matter:
https://www.youtube.com/watch?v=eCviu05n_XA
2 -
PabloImpallari said:0
-
Vasil Stanev said:PabloImpallari said:
This seems to be the relevant section of the feature code; you need the class definitions from above it, too, of course.1
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 814 Font Technology
- 1.1K Technique and Theory
- 629 Type Business
- 449 Type Design Critiques
- 548 Type Design Software
- 30 Punchcutting
- 137 Lettering and Calligraphy
- 84 Technique and Theory
- 53 Lettering Critiques
- 495 Typography
- 307 History of Typography
- 115 Education
- 73 Resources
- 509 Announcements
- 82 Events
- 107 Job Postings
- 153 Type Releases
- 166 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports