X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/5464db21077f6af072bd770f6cb6e907eb48b73d..9bac941bab9e3f034f43e86f36aafb11b0350cdb:/writing.plp diff --git a/writing.plp b/writing.plp index d71dba4..5308df7 100644 --- a/writing.plp +++ b/writing.plp @@ -31,6 +31,9 @@ unless (exists $get{v}) { $glyphs->{digraph}--; } +my $scriptname = do 'writing-script.inc.pl'; +$_ = qq{$_} for $scriptname->{latn} || (); + for ( [phnx => 'Phoenician'], [brah => 'Brahmi'], @@ -43,7 +46,10 @@ for ( printf "

Table data not found: %s.

\n", $! || $@; next; } - $glyphs->print($title => [ map { @$_ } grep { ref $_ eq 'ARRAY' } @table ]); + $glyphs->print($title => [map { + ref $_ eq 'ARRAY' ? @$_ : map { ".>$_" } + $scriptname->{$source.'_'.$_} || $scriptname->{$_} || $_ + } @table]); } :>