X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/68f17e8677688380e144e379ce5ae7a08d0a7c44..a93c5c61b18192c5f74256e3cb18e7f1cd2034d5:/charset.plp diff --git a/charset.plp b/charset.plp index 49f2d50..9ab15f1 100644 --- a/charset.plp +++ b/charset.plp @@ -98,6 +98,7 @@ sub tabinput { state $visible = {'' => 1}; # all present tables my %row = (offset => 0, cols => 16); + $row{$_} = $charset->{$_} for qw( note ); # copy metadata if (not defined $params) { my @parents = @{ $charset->{inherit} || [] }; @@ -291,8 +292,8 @@ for my $row (@request) { printf '
', !$row->{cell} && ' charmap'; my $title = $row->{set}; - $title .= " " - for $row->{parent} || (); + $title .= " " for $row->{parent} || (); + $title .= " " for $row->{note} || (); printf '', $title; print '' x ($cols + 1); for my $section (qw{thead}) { @@ -342,7 +343,7 @@ for my $row (@request) { $cp == ord $glyph ? 'l4' : $row->{parent} && $glyph eq Encode::decode($row->{parent}, pack 'C', $cp) ? 'l3' : - !$class ? undef : + !defined $cell ? undef : $visible->{$glyph} ? 'l2' : 'l1' );
%s