X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/9a4d89685edcb4399aa500d38de84b0101ad09b2..0fd734e664006800ce6210951a9f78e456614584:/unicode.plp diff --git a/unicode.plp b/unicode.plp index a2e834a..6d9ea2c 100644 --- a/unicode.plp +++ b/unicode.plp @@ -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 '

%s

'."\n\n", shift; + printf '

%s

'."\n\n", shift; while (ref $_[0] and $_ = shift) { print glyph_table($_); } - print '
'; + print ''; } } @@ -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{. ⇖ ⇑ ⇗ ⇔ . ⇐ - ⇒ ⇕ . ⇙ ⇓ ⇘ -}],