From: Mischa POSLAWSKY Date: Tue, 11 Apr 2017 01:38:59 +0000 (+0200) Subject: latin: d'ni numerals svg row X-Git-Tag: v1.10~165 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/5eb91cbedd5d8014061c5a78e4d205d5a782ebd0 latin: d'ni numerals svg row Remarkable for being a regular base5 counting system exactly matching all 26 letters. SVG constructed from shapes inspired by: and . --- diff --git a/writing-latn.inc.pl b/writing-latn.inc.pl index f313a31..babdb40 100644 --- a/writing-latn.inc.pl +++ b/writing-latn.inc.pl @@ -1,3 +1,4 @@ +use 5.014; use utf8; use List::Util qw( pairs ); @@ -325,6 +326,29 @@ my $U = 0; # optional unicode alternatives ), # 0 for space '', 1, 3 # start/end ], +"D'ni" => [ + map { + state $window = 'M-.5,-.5H12.5V12.5H-.5Z'; + state $v = [ + '', + 'M0,6 12,6', + 'M0,12 Q6,6 12,12', + 'M0,6 6,12 12,6', + 'M3,0 3,6 12,6', + 'M0,0 12,12 M0,12 12,0', # cross + 'M5.5,6 h1', # dot + ]; + state $h = [ + '', + 'M6,0 6,12', + 'M0,0 Q6,6 0,12', + 'M6,-.5 0,6 6,12.5', + 'M6,12 6,3 12,3', + ]; + sprintf '', + $window . ($h->[$_ % 5] . $v->[$_ / 5] || $v->[6]); + } 0 .. 5*5 +], 'Pigpen' => [ map { qq($_)