X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/58725794d72361cc70cb082476a32d08e22d21d0..dbf4a34af50113bb56c5dfaae3afeb6441e0cd8d:/unicode.plp diff --git a/unicode.plp b/unicode.plp index 0ba7c3f..1f74144 100644 --- a/unicode.plp +++ b/unicode.plp @@ -2,7 +2,7 @@ Html({ title => 'unicode glyph cheat sheet', - version => '1.3', + version => '1.4', description => [ "Common Unicode characters with digraph or code point, layed out for quick location.", "Includes general symbols, arrows, drawing characters, and IPA letters.", @@ -10,7 +10,6 @@ Html({ keywords => [qw' unicode glyph char character reference common ipa symbol sign mark table digraph '], - stylesheet => [qw'light dark mono circus red'], data => [qw( unicode-table.inc.pl data/unicode-char.inc.pl )], }); @@ -149,10 +148,11 @@ $glyphs->print(map { if (@select) { my $rowlen; - for ($rowlen = 1; $rowlen++; $rowlen <= $#$table) { + for ($rowlen = 1; $rowlen <= $#$table; $rowlen++) { last if $table->[$rowlen] =~ /\./; } my @cells = map { + s/^(?=-)/0/; my $end = (s/-(.+)?// ? ($1 // @$table / $rowlen - 1) : $_) + 1; $_ * $rowlen .. $end * $rowlen - 1; } @select;