From 387915558e27373db24fdce29ef79ab393a31260 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Tue, 28 Aug 2018 20:11:00 -0700 Subject: [PATCH] Fixes ss01 feature (order matters; prev commit moved tnum and zero up; this moves them down again) --- src/features.fea | 50 ++++++++++++++++++++++++------------------------ 1 file 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;