diff options
Diffstat (limited to 'src/features.fea')
-rw-r--r-- | src/features.fea | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/features.fea b/src/features.fea index b8eeee667..be758f468 100644 --- a/src/features.fea +++ b/src/features.fea @@ -626,6 +626,30 @@ feature locl { } locl; +@TNUM_L = [ + zero one two three four five + six seven eight nine + one.1 four.1 six.1 nine.1 + period comma +]; +@TNUM_R = [ + zero.tnum one.tnum two.tnum three.tnum four.tnum five.tnum + six.tnum seven.tnum eight.tnum nine.tnum + one.tnum.1 four.tnum.1 six.tnum.1 nine.tnum.1 + period.tnum comma.tnum +]; + +feature tnum { + sub @TNUM_L by @TNUM_R; +} tnum; + + +feature zero { + sub zero by zero.slash; + sub zero.tnum by zero.tnum.slash; +} zero; + + feature frac { # Fractions # Latin lookup frac_1 { |