latin: uppercase row
[sheet.git] / writing-latn.inc.pl
index 3db23c4d6c662cecaba265d590b78689f1fdb566..b5c98c0e8127fd8152259e4ed65cbf0c68570368 100644 (file)
@@ -1,19 +1,20 @@
 use utf8;
 
 sub disptap {
-       map {
+       return map {
                m/\A(-?)(\d)(\d)/;
-               $1 . '\\'  # escape dot
-               . ('.̇' x ($2 < $3 ? $2 : $3))  # min($2,$3) without losing captures
-               . ('.' x ($3 - $2))
-               . (' ̇' x ($2 - $3))
-       } @_
+               sprintf('<small style="line-height:2ex">%s</small>&nbsp;',
+                       #TODO: prepend $1
+                       join "<br>\n", '•' x $2, '•' x $3,
+               );
+       } @_;
 }
 
 my %C = qw(red #EC1C24  blue #3953A3  yellow #F9EC31  black #231F20);
 
 (
-latn     => [qw{ a b c d e f g h i j k l m n o p q r s t u v w x y z }],
+latnuc   => [qw{ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z }],
+latnlc   => [qw{ a b c d e f g h i j k l m n o p q r s t u v w x y z }],
 latfsuet => [qw{ a b c d e f g h i j k l m n o p q r ſ s t u v w x y z }],
 asl      => [
        map { pack 'W*', map { hex "1D$_" } unpack '(A3)*', $_ } qw{
@@ -33,7 +34,7 @@ tap      => [disptap(qw{
                11 12 13 14 15 21 22 23 24 -24 25 31 32
                33 34 35 41 42 43 44 45 51 52 53 54 55
             })],
-tap      => [disptap(qw{
+taps     => [disptap(qw{
                11 12 13 14 21 22 23 24 31 -31 -13 32 33
                34 41 42 -13 43 44 15 51 52 53 -25 -31 54
             })],