X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/1d743a55b5335cd7aaa5f9a8f2c782e7a46564b7..8ed454fdd94aae38d04fcd96cab15ef3b86b9cc5:/writing.plp diff --git a/writing.plp b/writing.plp index e57ceec..30080ec 100644 --- a/writing.plp +++ b/writing.plp @@ -26,6 +26,10 @@ and common chars.

<: use Shiar_Sheet::FormatChar; my $glyphs = Shiar_Sheet::FormatChar->new; +unless (exists $get{v}) { + $glyphs->{unicode}--; + $glyphs->{digraph}--; +} print $glyphs->table([qw{ .>Chinese 壹 貳 參 肆 伍 陸 柒 捌 玖 零 @@ -55,17 +59,7 @@ print $glyphs->table([qw{ .>Osmanya 𐒡 𐒢 𐒣 𐒤 𐒥 𐒦 𐒧 𐒨 𐒩 𐒠 }]); -sub print_glyph_tables { - while (@_) { - printf '

%s

'."\n\n", shift; - while (ref $_[0] and $_ = shift) { - print $glyphs->table($_); - } - print '
'; - } -} - -print_glyph_tables( +$glyphs->print( Western => [qw{ .>Latin A > B C G D > E F Y VU W Z H - I J K L M N > X O P > - Q R > S T .>Old_Italic 𐌀 > 𐌁 > 𐌂 𐌃 > 𐌄 𐌅𐌚 > > 𐌖 𐌆 𐌇 𐌈 𐌉 𐌝 𐌊 𐌋 𐌌 𐌍 > 𐌎 𐌏 𐌐 > 𐌑 𐌒 𐌓 > 𐌔 𐌕