X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/c1cc57a4ab9027121924a770242bc71f410e37c2..0756f67f65952972d3777a5d6be5ddf4715bddef:/writing.plp
diff --git a/writing.plp b/writing.plp
index eab0051..c430bbd 100644
--- a/writing.plp
+++ b/writing.plp
@@ -19,7 +19,9 @@ Html({
:>
@@ -29,7 +31,8 @@ use Shiar_Sheet::FormatChar;
my $glyphs = Shiar_Sheet::FormatChar->new;
unless (exists $get{v}) {
$glyphs->{unicode}--;
- $glyphs->{digraph}--;
+ $glyphs->{anno} = [];
+ $glyphs->{style} = 0;
}
my $scriptname = do 'writing-script.inc.pl';
@@ -38,7 +41,6 @@ $_ = qq{
$_} for $scriptname->{latn} || ();
for (
[phnx => 'Phoenician'],
[brah => 'Brahmi'],
- [digits => 'Digits'],
) {
my ($source, $title) = @$_;
my @table = do "writing-$source.inc.pl";
@@ -48,7 +50,8 @@ for (
next;
}
$glyphs->print($title => [map {
- ref $_ eq 'ARRAY' ? @$_ : map { ".>$_" }
+ my $lead = s/^(-)// && $1;
+ ref $_ eq 'ARRAY' ? @$_ : map { ".>$lead$_" }
$scriptname->{$source.'_'.$_} || $scriptname->{$_} || $_
} @table]);
}