return $_;
}
-sub table {
- my ($width, $digraphs, $rowheads, $colheads) = @_;
+sub glyph_table {
+ my ($digraphs, $rowheads, $colheads) = @_;
my @rows;
}
print "<div>\n", "<h2>Popular</h2>\n\n";
-print table(@$_) for (
- [ 3 => [qw{. « » . ‹ › . ‘ ’ . “ ” . „ ‚}]],
- [ 3 => [qw{. † ‡ • . § ¶ # . © ® ™ . − × ÷ . ± ² √}]],
- [ 3 => [qw{. å ä ö ü ß . Å æ ø ű ſ}]],
- [ 3 => [qw{. ¿ ç ñ é ê è}]],
+print glyph_table(@$_) for (
+ [ [qw{. « » . ‹ › . ‘ ’ . “ ” . „ ‚}]],
+ [ [qw{. † ‡ • . § ¶ # . © ® ™ . − × ÷ . ± ² √}]],
+ [ [qw{. å ä ö ü ß . Å æ ø ű ſ}]],
+ [ [qw{. ¿ ç ñ é ê è}]],
);
print "</div>\n\n";
print "<div>\n", "<h2>Arrows</h2>\n\n";
-print table(@$_) for (
- [ 4 => [qw{. ↖ ↑ ↗ ↔ . ← - → ↕ . ↙ ↓ ↘ -}]],
- [ 4 => [qw{. ⇖ ⇑ ⇗ ⇔ . ⇐ - ⇒ ⇕ . ⇙ ⇓ ⇘ -}]],
- [ 3 => [qw{. ◤ ▲ ◥ . ◀ ◆ ▶ . ◣ ▼ ◢}]],
- [ 3 => [qw{. ◸ △ ◹ . ◁ ◇ ▷ . ◺ ▽ ◿}]],
+print glyph_table(@$_) for (
+ [ [qw{. ↖ ↑ ↗ ↔ . ← - → ↕ . ↙ ↓ ↘ -}]],
+ [ [qw{. ⇖ ⇑ ⇗ ⇔ . ⇐ - ⇒ ⇕ . ⇙ ⇓ ⇘ -}]],
+ [ [qw{. ◤ ▲ ◥ . ◀ ◆ ▶ . ◣ ▼ ◢}]],
+ [ [qw{. ◸ △ ◹ . ◁ ◇ ▷ . ◺ ▽ ◿}]],
);
print "</div>\n\n";
print "<div>\n", "<h2>Line drawing</h2>\n\n";
-print table(@$_) for (
- [ 4 => [qw{. ┌ ┬ ┐ . ├ ┼ ┤ . └ ┴ ┘}]],
- [ 4 => [qw{. ┏ ┳ ┓ . ┣ ╋ ┫ . ┗ ┻ ┛}]],
- [ 3 => [qw{. ┍ ┯ ┑ . ┝ ┿ ┥ . ┕ ┷ ┙}]],
- [ 3 => [qw{. ┎ ┰ ┒ . ┠ ╂ ┨ . ┖ ┸ ┚}]],
- [ 4 => [qw{
+print glyph_table(@$_) for (
+ [ [qw{. ┌ ┬ ┐ . ├ ┼ ┤ . └ ┴ ┘}]],
+ [ [qw{. ┏ ┳ ┓ . ┣ ╋ ┫ . ┗ ┻ ┛}]],
+ [ [qw{. ┍ ┯ ┑ . ┝ ┿ ┥ . ┕ ┷ ┙}]],
+ [ [qw{. ┎ ┰ ┒ . ┠ ╂ ┨ . ┖ ┸ ┚}]],
+ [ [qw{
. ╴ ─ ╌ ┄ ┈ ╶ ╾
. ╸ ━ ╍ ┅ ┉ ╺ ╼
. ╵ │ ╎ ┆ ┊ ╷ ╿
. ╹ ┃ ╏ ┇ ┋ ╻ ╽
}]],
- [ 1 => [qw{. ╱ ╳ ╲ }]],
- [ 4 => [qw{. ╔ ╦ ╗ ═ . ╠ ╬ ╣ ║ . ╚ ╩ ╝ - }]],
- [ 3 => [qw{. ╒ ╤ ╕ . ╞ ╪ ╡ . ╘ ╧ ╛ }]],
- [ 3 => [qw{. ╓ ╥ ╖ . ╟ ╫ ╢ . ╙ ╨ ╜ }]],
+ [ [qw{. ╱ ╳ ╲ }]],
+ [ [qw{. ╔ ╦ ╗ ═ . ╠ ╬ ╣ ║ . ╚ ╩ ╝ - }]],
+ [ [qw{. ╒ ╤ ╕ . ╞ ╪ ╡ . ╘ ╧ ╛ }]],
+ [ [qw{. ╓ ╥ ╖ . ╟ ╫ ╢ . ╙ ╨ ╜ }]],
);
print "</div>\n\n";
print "<div>\n", "<h2>Blocks</h2>\n\n";
-print table(@$_) for (
- [ 3 => [qw{. ▘ ▀ ▝ . ▌ █ ▐ . ▖ ▄ ▗ }]],
- [ 3 => [qw{. ░ . ▒ . ▓ }]],
- [ 2 => [qw{. ▛ ▚ ▟ . ▙ ▞ ▜ }]],
- [ 2 => [qw{. ▁ ▂ ▃ ▄ ▅ ▆ ▇ ▔ . ▏ ▎ ▍ ▌ ▋ ▊ ▉ ▕ }]],
- [ 3 => [qw{. □ ▣ ■ . ▤ ▦ ▥ . ▧ ▩ ▨}]],
+print glyph_table(@$_) for (
+ [ [qw{. ▘ ▀ ▝ . ▌ █ ▐ . ▖ ▄ ▗ }]],
+ [ [qw{. ░ . ▒ . ▓ }]],
+ [ [qw{. ▛ ▚ ▟ . ▙ ▞ ▜ }]],
+ [ [qw{. ▁ ▂ ▃ ▄ ▅ ▆ ▇ ▔ . ▏ ▎ ▍ ▌ ▋ ▊ ▉ ▕ }]],
+ [ [qw{. □ ▣ ■ . ▤ ▦ ▥ . ▧ ▩ ▨}]],
);
print "</div>\n\n";
print "<div>\n", "<h2>Signs</h2>\n\n";
-print table(@$_) for (
- [ 8 => [qw{. ¤ ¢ ₥ € £ ₨ $ ¥ . ₫ ₭ ₦ ₱ ₧ ₮ ₩ ₪}]],
- [ 4 => [qw{. ♠ ♡ ♢ ♣ . ♤ ♥ ♦ ♧}]],
- [ 5 => [qw{. ☉ ☿ ♀ ♁ ♂ ♃ ♄ ♅ ♆ ♇}]], # solar
- [12 => [qw{. ♈ ♉ ♊ ♋ ♌ ♍ ♎ ♏ ♐ ♑ ♒ ♓}]], # zodiac
+print glyph_table(@$_) for (
+ [ [qw{. ¤ ¢ ₥ € £ ₨ $ ¥ . ₫ ₭ ₦ ₱ ₧ ₮ ₩ ₪}]],
+ [ [qw{. ♠ ♡ ♢ ♣ . ♤ ♥ ♦ ♧}]],
+ [ [qw{. ☉ ☿ ♀ ♁ ♂ ♃ ♄ ♅ ♆ ♇}]], # solar
+ [ [qw{. ♈ ♉ ♊ ♋ ♌ ♍ ♎ ♏ ♐ ♑ ♒ ♓}]], # zodiac
);
print "</div>\n\n";
print "<div>\n", "<h2>IPA</h2>\n\n";
-print table(@$_) for (
+print glyph_table(@$_) for (
[
- 12 => [qw{
+ [qw{
. p p̪ > > t ʈ c k q = ʡ ʔ
. b b̪ > > d ɖ ɟ ɡ ɢ = - =
. m ɱ > > n ɳ ɲ ŋ ɴ = = =
],
],
[
- 6 => [qw{
+ [qw{
. i y ɨ ʉ ɯ u
. - ɪ ʏ - ʊ -
. e ø ɘ ɵ ɤ o
print "</div>\n\n";
print "<div>\n", "<h2>Alphabetics</h2>\n\n";
-print table(1,
+print glyph_table(
[ map { ('.', split //, $_->[1]) } @$_ ],
[ map { $_->[0] } @$_ ],
) for [
print "</div>\n\n";
print "<div>\n", "<h2>Japanese</h2>\n\n";
-print table(@$_) for (
+print glyph_table(@$_) for (
[
- 1 => [qw{
+ [qw{
. あ い う え お =
. か き く け こ =
. さ し す せ そ =
[qw{A I U E O}, ''],
],
[
- 1 => [qw{
+ [qw{
. が ぎ ぐ げ ご
. ざ じ ず ぜ ぞ
. だ ぢ づ で ど
[qw{A I U E O}],
],
[
- 1 => [qw{
+ [qw{
. ア イ ウ エ オ ー
. カ キ ク ケ コ =
. サ シ ス セ ソ =
[qw{A I U E O}, ''],
],
[
- 1 => [qw{
+ [qw{
. ガ ギ グ ゲ ゴ
. ザ ジ ズ ゼ ゾ
. ダ ヂ ヅ デ ド