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 ?
Comments
Sorry I didn't express myself clearly.
lookup ChainingContext2 {
context (@th_num) @lc_alpha @lc_alpha;
sub 0 Ligature6;
}
Very helpful.