diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-08-29 06:11:00 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-08-29 06:11:00 +0300 |
commit | 387915558e27373db24fdce29ef79ab393a31260 (patch) | |
tree | bddcd72fb8e99157fc37ce686902be44edca649c /src | |
parent | 5b246166f24d74daf4fa40d2b0f62dfe71b869d6 (diff) | |
download | inter-387915558e27373db24fdce29ef79ab393a31260.tar.xz |
Fixes ss01 feature (order matters; prev commit moved tnum and zero up; this moves them down again)
Diffstat (limited to 'src')
-rw-r--r-- | src/features.fea | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/features.fea b/src/features.fea index be758f468..17fda3d22 100644 --- a/src/features.fea +++ b/src/features.fea @@ -626,30 +626,6 @@ 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 { @@ -764,8 +740,32 @@ feature calt { # Stylistic set 1: open digits feature ss01 { - sub one by one.1; + sub one by one.1; sub four by four.1; sub six by six.1; sub nine by nine.1; } ss01; + + +@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; |