X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/a748ed6eb94a8cb8b7cf09ef9f87104e8f371f82..d7f0d5ab5464a06c0eff760183900d479dbe6728:/Shiar_Sheet/FormatChar.pm diff --git a/Shiar_Sheet/FormatChar.pm b/Shiar_Sheet/FormatChar.pm index 839144f..b2e4d09 100644 --- a/Shiar_Sheet/FormatChar.pm +++ b/Shiar_Sheet/FormatChar.pm @@ -275,13 +275,21 @@ sub print { } sub legend { - my @classes = ( + my $self = shift; + my @classes = $self->{style} eq 'univer' ? ( [l5 => 'unicode 1.1'], [l4 => '20th century'], [l3 => 'in 6.0 (2010)'], [l2 => 'recent assignments'], [l1 => 'proposed'], [ex => 'irregular'], + ) : ( + [l5 => 'ascii'], + [l4 => $self->{style} eq 'di' ? 'digraph' : 'latin1'], + [l3 => $self->{style} eq 'di' ? 'proposed' : 'HTML4'], + [l2 => 'unicode ≤6.0'], + [l1 => 'other unicode'], + [ex => 'discouraged'], ); return (