Rotating Alternates
Options

Vasil Stanev
Posts: 785
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
- 46 Introductions
- 3.8K Typeface Design
- 476 Type Design Critiques
- 555 Type Design Software
- 1.1K Type Design Technique & Theory
- 640 Type Business
- 831 Font Technology
- 29 Punchcutting
- 508 Typography
- 120 Type Education
- 313 Type History
- 75 Type Resources
- 109 Lettering and Calligraphy
- 30 Lettering Critiques
- 79 Lettering Technique & Theory
- 533 Announcements
- 86 Events
- 110 Job Postings
- 167 Type Releases
- 169 Miscellaneous News
- 274 About TypeDrawers
- 53 TypeDrawers Announcements
- 119 Suggestions and Bug Reports