keyboard/altgr: automatically generate thumbnails from source images
[sheet.git] / keyboard / altgr / macos.eng.inc.pl
index 9dfab2c72e666b6057e37d4f2acaf5034e3bb122..5b211f0e786b506a0903c6e4f100c4ed524fe334 100644 (file)
@@ -1,7 +1,9 @@
 use utf8;
 use strict;
 use warnings;
-our %rows = (
+use Shiar_Sheet::KeyboardChars 'kbchars';
+
+my %rows = (
        'A' => 'Å',
        'a' => 'å',
        'B' => 'ı',
@@ -32,8 +34,8 @@ our %rows = (
        'n' => "\N{COMBINING TILDE}",
        'O' => 'Ø',
        'o' => 'ø',
-       'p' => 'π',
        'P' => '∏',
+       'p' => 'π',
        'Q' => 'Œ',
        'q' => 'œ',
        'R' => '‰',
@@ -99,18 +101,19 @@ our %rows = (
 );
 
 +{
-       %{ do 'keyboard/altgr/groups.inc.pl' },
+       %{ kbchars(\%rows) },
        version => '1.3',
-       title => 'option key',
+       title => 'US option',
        intro => join("\n",
-               'Special <a href="/unicode">characters</a>',
-               "when pressing ⌥ Option (Alt) with Apple's US (or US International) layout",
+               'Resulting <a href="/unicode">selection</a> of <a href="/charset">Unicode</a> characters',
+               "while pressing ⌥ Option (Alt) with Apple's US (or US International) layout",
                'on <abbr title="at least in Ventura 13.2">macOS</abbr>.',
-               q{Not to be confused with <a href="/keyboard/altgr/windows">Windows'</a> AltGr keys.},
+               q{An alternative <a href="/keyboard/altgr/macos-abc">ABC Extended</a> is also available.},
+               q{Different from <a href="/keyboard/altgr/windows">AltGr</a> on Windows.},
        ),
        description => [
                "Apple US International keyboard layout table",
                "with the Option modifier key.",
        ],
-       image => 'keyboard/altgr/macoption.jpg',
+       image => 'data/keyboard/thumb/matias-fk302.jpg',
 }