latin: international telegraph alphabet
authorMischa POSLAWSKY <perl@shiar.org>
Mon, 10 Apr 2017 14:53:20 +0000 (16:53 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 24 Apr 2017 23:51:41 +0000 (01:51 +0200)
Data from <https://en.wikipedia.org?title=Baudot_code&oldid=772386341>.
Fit large circle glyphs by separating MSB on a second line (like tap codes),
also distinguishing hands.

latin.plp
writing-latn.inc.pl

index 193779b6d28f6132e05799229df7ab68526bade2..cab913e75bcaa6a853a788aa82ee32d2af74d415 100644 (file)
--- 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;
index 5171a6b5e867b4f6841d48ed80c4803ba5b2cde9..c7ed2ddd8766e418965eb598f2694dffcf6ca6f0 100644 (file)
@@ -56,9 +56,11 @@ my $U = 0;  # optional unicode alternatives
        903a9c    8FBa9c    815a9c    80Ea9c    887a9c
        806a9c    89Aa9c    800a9c945aaa
 }],
-# bacon's cipher
-# baudot
-# ascii
+'<abbr title="International Telegraph Alphabet">ITA</abbr>2' => [
+       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 { '<svg width="9" height="12" viewBox="0 0 18 24">'.$_.'</svg>' }