keyboard/altgr/atari: consistent line width transcription
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 1 May 2024 21:54:21 +0000 (23:54 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 21 May 2024 14:34:27 +0000 (16:34 +0200)
Prefer uniform thin lines also for outer borders, despite being 2/8 pixels
in the original font corresponding to quarter blocks.

More historically accurate fat variants stashed under ?compat but not
advertised due to missing diagonal equivalents.

keyboard/altgr/atari.eng.inc.pl

index e6bc674a673a36aa7458668fc7b5196a81284eef..6f581f8f3ec29a4419cb3c9a1f7c7ac57f174dcf 100644 (file)
@@ -3,15 +3,24 @@ use strict;
 use warnings;
 no warnings 'qw';
 use Shiar_Sheet::KeyboardChars 'kbchars';
+our %get;
 
 # card suits at 50,00,60,7B mapped differently depending on keyboard
 my %rows = qw(
        p ♣  , ♥  ; ♠  . ♦
        q ┌  w ┬  e ┐  r ─  t ●  y ▌  u ▄  i ▗  o ▖
        a ├  s ┼  d ┤  f ╱  g ╲  h ◢  j ◣  k ▝  l ▘
-       z └  x ┴  c ┘  v ��  b 🮇  n ▂  m 🮂
+       z └  x ┴  c ┘  v ��  b ▕  n ▁  m ▔
 );
 
+if (exists $get{compat}) {
+       %rows = (%rows, qw(
+               q ┏  w ┳  e ┓  r ━
+               a ┣  s ╋  d ┫
+               z ┗  x ┻  c ┛  v ▎  b 🮇  n ▂  m 🮂
+       ));
+}
+
 my $groups = kbchars(\%rows);
 
 while (my ($k, $c) = each %rows) {