Mixed Case Liga Feature . . .

Stuart Sandler
Posts: 390
Working on a font where I want to add a liga OT feature to work regardless of the case typed in, so for example if a user types in CAT, cat, CaT, cAT, etc I'd like all variations substitute the same ligature.
Any suggestions? FYI, working in Glyphs . . . Thanks in advance!
Any suggestions? FYI, working in Glyphs . . . Thanks in advance!
0
Comments
-
I think brackets would work, i.e.
sub [C c] [A a] [T t] by c_a_t;
11 -
sub C A T by C_a_t.lig;
sub c a t by C_a_t.lig;
sub C a T by C_a_t.lig;
sub c A T by C_a_t.lig;
sub c A t by C_a_t.lig;
sub c a T by C_a_t.lig;
sub C a t by C_a_t.lig;
1 -
Wouldn't giving a cAT a low hanging tail and CAt a crouching front pair of legs and a ducked head be more fun?
Just kidding. Chris, is there a reason we would want to spell out every combination instead of using brackets?0 -
Thanks all! Much appreciated!
0 -
@Adam Jagosz Sure, you could use brackets but I am not sure how Glyphs handles feature code so I just spelled it out.0
-
It works the same as in FontLab (or anywhere else that uses AFDKO syntax), except that you only include the part inside the curly brackets of the feature definition. The outer portion is added automatically.2
Categories
- All Categories
- 44 Introductions
- 3.8K Typeface Design
- 474 Type Design Critiques
- 554 Type Design Software
- 1.1K Type Design Technique & Theory
- 637 Type Business
- 826 Font Technology
- 29 Punchcutting
- 505 Typography
- 120 Type Education
- 312 Type History
- 73 Type Resources
- 109 Lettering and Calligraphy
- 30 Lettering Critiques
- 79 Lettering Technique & Theory
- 528 Announcements
- 84 Events
- 110 Job Postings
- 164 Type Releases
- 169 Miscellaneous News
- 273 About TypeDrawers
- 54 TypeDrawers Announcements
- 117 Suggestions and Bug Reports