(common.inc.plp)><:
Html({
title => 'digit characters sheet',
version => '1.0',
description => [
"Unicode glyphs of numbers 0 to 10 in various scripts.",
],
keywords => [qw(
numeral numerical digit number counting decimal
script glyph unicode writing comparison list character
history sample test language multilingual
)],
stylesheet => [qw( light dark circus mono red )],
data => [qw'writing-digits.inc.pl'],
});
:>
Numerals
Digits and numbers counting up to ten
in various writing systems.
<:
use List::Util qw( pairs );
use Shiar_Sheet::FormatChar 1.08;
my $glyphs = Shiar_Sheet::FormatChar->new;
unless (exists $get{v}) {
$glyphs->{unicode}--;
$glyphs->{anno} = [];
$glyphs->{style} = 'univer';
}
my $scriptname = do 'writing-script.inc.pl';
$_ = qq{
$_} for $scriptname->{latn} || ();
my @table = do "writing-digits.inc.pl";
die "Table data not found: $_\n" for $@ || $! || ();
say $glyphs->tabletag;
for my $row (pairs @table) {
my ($id, $cols) = @{$row};
my $title = $scriptname->{"digits_$id"} || $scriptname->{$id} || $id;
print $glyphs->row([ ".>$title", @{$cols} ]);
}
say '';
:>