From dee8b1228bb393309b048d565938d8178bf98613 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Fri, 15 Nov 2024 11:08:48 -0800 Subject: [PATCH] =?UTF-8?q?removes=20NxN=20->=20N=C3=97N=20transformation?= =?UTF-8?q?=20in=20calt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/calt.fea | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/features/calt.fea b/src/features/calt.fea index ccb6119c2..25e1ddc25 100644 --- a/src/features/calt.fea +++ b/src/features/calt.fea @@ -308,32 +308,3 @@ sub bracketleft.case @All @All @All @All @All @All bracketright' by bracketright # END case # ------------------------------------------------------------------------------------- -# BEGIN NxN -# x surrounded by numbers, e.g: -# 3x4 -> 3×4 -# 10x20 -> 10×20 -# 0x10 -> 0x10 No substitution -# -@NumNoZero = [ - one two three four five - six seven eight nine one.ss01 - three.1 four.ss01 six.ss01 nine.ss01 - - one.tf two.tf three.tf four.tf five.tf - six.tf seven.tf eight.tf nine.tf one.tf.ss01 - three.1.tf four.tf.ss01 six.tf.ss01 nine.tf.ss01 -]; - -sub @NumNoZero x' @Numeral by multiply.case; # "3x9" "1x0" -sub @Numeral @Numeral x' @Numeral by multiply.case; # "10x0" - -sub @NumNoZero @Whitespace x' @Numeral by multiply.case; # "3 x9" "1 x0" -sub @NumNoZero @Whitespace x' @Whitespace @Numeral by multiply.case; # "3 x 9" "1 x 0" -sub @NumNoZero x' @Whitespace @Numeral by multiply.case; # "3x 9" "1x 0" - -sub @Numeral @Numeral @Whitespace x' @Numeral by multiply.case; # "10 x0" -sub @Numeral @Numeral @Whitespace x' @Whitespace @Numeral by multiply.case; # "10 x 0" -sub @Numeral @Numeral x' @Whitespace @Numeral by multiply.case; # "10x 0" - -# END NxN -# -------------------------------------------------------------------------------------