From e243ba6955889ecb639cd547e1420520527b9d3e Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 10 Apr 2017 16:53:20 +0200 Subject: [PATCH] latin: international telegraph alphabet Data from . Fit large circle glyphs by separating MSB on a second line (like tap codes), also distinguishing hands. --- latin.plp | 14 +++++++++++++- writing-latn.inc.pl | 8 +++++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/latin.plp b/latin.plp index 193779b..cab913e 100644 --- a/latin.plp +++ b/latin.plp @@ -22,12 +22,19 @@ Html({ src: url("/suetterlin.ttf"); } #sütterlin td { font-family: Suetterlin } + #ita2 td, #tap-code td, #tap-simplified td { - line-height: 1ex; white-space: normal; word-spacing: 5em; /* force line break between words */ } + #tap-code td, + #tap-simplified td { + line-height: 1ex; + } + #ita2 td { + font-size: 50%; + } #pigpen { stroke-linecap: square; } @@ -49,8 +56,13 @@ Html({ #tap-code .sample, #tap-simplified .sample { font-size: 80%; + } + #ita2 .sample, + #tap-code .sample, + #tap-simplified .sample { word-spacing: 0; } + #ita2 .sample span, #tap-code .sample span, #tap-simplified .sample span { margin-right: 1ex; diff --git a/writing-latn.inc.pl b/writing-latn.inc.pl index 5171a6b..c7ed2dd 100644 --- a/writing-latn.inc.pl +++ b/writing-latn.inc.pl @@ -56,9 +56,11 @@ my $U = 0; # optional unicode alternatives 903a9c 8FBa9c 815a9c 80Ea9c 887a9c 806a9c 89Aa9c 800a9c945aaa }], -# bacon's cipher -# baudot -# ascii +'ITA2' => [ + map { tr/01/○●/r =~ s/..\K/ /r } qw( + 11000 10011 01110 10010 10000 10110 01011 00101 01100 11010 11110 01001 00111 + 00110 00011 01101 11101 01010 10100 00001 11100 01111 11001 10111 10101 10001 +)], 'Braille' => [qw{ ⠁ ⠃ ⠉ ⠙ ⠑ ⠋ ⠛ ⠓ ⠊ ⠚ ⠅ ⠇ ⠍ ⠝ ⠕ ⠏ ⠟ ⠗ ⠎ ⠞ ⠥ ⠧ ⠺ ⠭ ⠽ ⠵ }], '5-point Tactile' => [ map { ''.$_.'' } -- 2.30.0