Quantcast
Channel: TypeDrawers
Viewing all articles
Browse latest Browse all 4153

Noob question about Chaining Contexts

$
0
0
What I want to achieve is to substitute a glyph for a pair of letters, but only if it occurs after a numeral.

Can I make a Ligature substitution lookup dependent upon a chaining context ?

what I have at the moment is  --


lookup ChainingContext2 {
  context (@th_num) @lc_alpha;
  sub 0 Ligature6;
}

Where @th_num is a list of numerals (0,4,5,6,7,8,9)
@lc_alpha is a list of all lower case letters (a -> z)
and Ligature6 is the ligature substitution table I want to activate after the numerals 0,4,5,6,7,8,9.

But it doesn't work,  any ideas ?


Viewing all articles
Browse latest Browse all 4153

Trending Articles