From 2e79f6a6a8fba18bcc39b5c866c3d1a84486f7d3 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 3 Mar 2015 19:05:01 +0100 Subject: [PATCH] latin: reformat tap codes to superimposed dots --- writing-latn.inc.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/writing-latn.inc.pl b/writing-latn.inc.pl index f763d35..62ab2b2 100644 --- a/writing-latn.inc.pl +++ b/writing-latn.inc.pl @@ -4,8 +4,9 @@ sub disptap { map { m/\A(-?)(\d)(\d)/; $1 . '\\' # escape dot - . chr($2 > 3 ? 0x2070 + $2 : $2 == 1 ? 0xB9 : 0xB0 + $2) # superscript - . chr(0x2080 + $3) # subscript digit + . ('.̇' x ($2 < $3 ? $2 : $3)) # min($2,$3) without losing captures + . ('.' x ($3 - $2)) + . (' ̇' x ($2 - $3)) } @_ } -- 2.30.0