unicode: rounded line drawing chars
[sheet.git] / unicode.plp
index a2e834a2fb24fbe3c543f9ba24f767b4f59c068b..6fa204cf0e2f12a94e112d70bdbd8a53405d2862 100644 (file)
@@ -5,10 +5,10 @@ Html({
        version => 'v1.0',
        description => [
                "Common Unicode characters with digraph or code point, layed out for quick location.",
-               "Includes general signs, arrows, drawing characters, and IPA letters.",
+               "Includes general symbols, arrows, drawing characters, and IPA letters.",
        ],
        keywords => [qw'
-               unicode glyph char character reference common ipa sign mark table digraph
+               unicode glyph char character reference common ipa symbol sign mark table digraph
        '],
        stylesheet => [qw'light dark red'],
 });
@@ -73,6 +73,8 @@ sub glyph_table {
                        $cell = '';
                }
                else {
+                       push @class, 'X';
+
                        if ($cell =~ s/^-//) {
                                push @class, 'di-rare'; # discouraged
                        }
@@ -86,9 +88,6 @@ sub glyph_table {
                                push @class, 'di-prop' # unofficial
                                        if $diinfo->{$code}->[2] =~ /\bXz\b/;
                        }
-                       elsif (defined $name) {
-                               push @class, 'X';
-                       }
 
                        if ($cell =~ /[ -~]/) {
                                push @class, 'di-a'; # ascii
@@ -119,11 +118,11 @@ sub glyph_table {
 
 sub print_glyph_tables {
        while (@_) {
-               printf '<section><h2>%s</h2>'."\n\n", shift;
+               printf '<div class="section"><h2>%s</h2>'."\n\n", shift;
                while (ref $_[0] and $_ = shift) {
                        print glyph_table($_);
                }
-               print '</section>';
+               print '</div>';
        }
 }
 
@@ -133,17 +132,27 @@ print_glyph_tables(
        'Popular',
        [qw{. « » . ‹ › . ‘ ’ . “ ” . „ ‚ . ‟ ‛}],
        [qw{. † ‡ • . § ¶ # . © ® ™ . ° ′ ″ . − × ÷ . ± ² √}],
-       [qw{. ⚋ ⚊ . ⚐ ⚑ . ☺ ☹ . ✓ ✗ . ✔ ✘ . ◄ ► }],
+       [qw{. ⚋ ⚊ . ⚐ ⚑ . ☺ ☹ . ✓ ✗ . ✔ ✘ }],
        [qw{. å ä ö ü ß . ā æ ø ű ſ}],
        [qw{. ¿ ç ñ é ê è}],
        [qw{. α β}], [qw{. א}],
 
-       'Signs',
+       'Symbols',
        [qw{. ¤ ¢ ₥ € £ ₨ $ ¥ . ₫ ₭ ₦ ₱ ₧ ₮ ₩ ₪}],
        [qw{. ♠ ♡ ♢ ♣ . ♤ ♥ ♦ ♧}],
+       [qw{. ☮ ☯ ☻ ♪ ♲ ♿ }],
+       [qw{. ✂ ✉ ☎ }], [qw{. ⚠ ☡ ☠}],
+       'Signs',
        [qw{. ☉ ☿ ♀ ♁ ♂ ♃ ♄ ♅ ♆ ♇}],  # solar
        [qw{. ♈ ♉ ♊ ♋ ♌ ♍ ♎ ♏ ♐ ♑ ♒ ♓}],  # zodiac
 
+       'Key commands',
+       [qw{. ⇥ ⇤ . ␣ ⌫ }], # common spacing
+       [qw{. ⎀ ⇱ ⇞ . ⌦ ⇲ ⇟ }], # edit block
+       [qw{. ⇪ ⇯ ⇭ . ⇧ ⇮ № }], # modifier
+       [qw{. ⎈ ⌥ ⌘ ⎄ }], [qw{. ↵ ⎋ ⎉ ⎊ }], # command
+       [qw{. ► ⏩ ⏭ ◼ ⚫ . ◄ ⏪ ⏮ ⏏ -❚❚ }], # player ui
+
        'Arrows',
        [qw{. ↖ ↑ ↗ ↔ . ← - → ↕ . ↙ ↓ ↘ -}],
        [qw{. ⇖ ⇑ ⇗ ⇔ . ⇐ - ⇒ ⇕ . ⇙ ⇓ ⇘ -}],
@@ -171,7 +180,9 @@ $verbose ? (
                . ╵ │ ╎ ┆ ┊ ╷ ╿
                . ╹ ┃ ╏ ┇ ┋ ╻ ╽
        }],
+       [qw{. ╭ ╮ . ╰ ╯ }],
        [qw{. ╱ ╳ ╲ }],
+       # ┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃╄╅╆╇╈╉╊
 
        'Blocks',
        [qw{. □ ▣ ■ . ▤ ▦ ▥ . ▧ ▩ ▨}],