X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/6907147e74f53469d6a987927ca133fd1a9d587b..d82c3e9b9482dea04d0b7bfb6fcd52c296eae022:/font.plp
diff --git a/font.plp b/font.plp
index 5315764..82aa0c3 100644
--- a/font.plp
+++ b/font.plp
@@ -1,11 +1,10 @@
<(common.inc.plp)><:
-use 5.014;
my $font = $ENV{PATH_INFO} =~ s{^/}{}r;
Html({
title => 'font coverage '.($font ? "for $font" : 'sheet'),
- version => 'v1.2',
+ version => '1.2',
keywords => [qw(
unicode font glyph char character support overview cover coverage
script block symbol sign mark reference table
@@ -108,7 +107,7 @@ EOT
say sprintf '
%X', $cp if $colpos++ % $pagecols == 0;
my $info = $glyphs->glyph_info($cp);
- my ($class, $name, $mnem, $html, $string) = @{$info};
+ my ($class, $name, $mnem, $entity, $string) = @{$info};
my $np = $class =~ /\bC\S\b/; # noprint if control or invalid
# display literal character, with placeholder circle if non-spacing/enclosing
my $html = ($class =~ /\bM[ne]\b/ && chr 9676) . EscapeHTML(chr $cp);
@@ -179,7 +178,7 @@ if (my $group = $get{q}) {
# output character list
-print '';
+print '';
print '';
print ""
for map { scalar @{ $cover->{os}->{$_} } } @ossel;
@@ -227,7 +226,7 @@ for (@rows) {
my $rel = $count / $row->{count};
my $class = $rel < .5 ? 2 : $rel < .9 ? 3 : 4;
- printf '%d%%', "l$class", $rel*100;
+ printf ' | %d', "l$class", $rel*10;
}
say '';
}
| |
---|