git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make rules for unicode-char.inc.pl and ttfsupport/
[sheet.git]
/
writing.plp
diff --git
a/writing.plp
b/writing.plp
index d71dba445eadc91c4ef934cc62173244195c9171..d6269e84d760c2ff60ee24ea7003266842d5f239 100644
(file)
--- a/
writing.plp
+++ b/
writing.plp
@@
-13,6
+13,7
@@
Html({
history phoenician latin sample test language multilingual
'],
stylesheet => [qw'light dark red'],
history phoenician latin sample test language multilingual
'],
stylesheet => [qw'light dark red'],
+ data => [qw'writing-phnx.inc.pl'],
});
:>
});
:>
@@
-28,9
+29,13
@@
use Shiar_Sheet::FormatChar;
my $glyphs = Shiar_Sheet::FormatChar->new;
unless (exists $get{v}) {
$glyphs->{unicode}--;
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';
+$_ = qq{<a href="/latin">$_</a>} for $scriptname->{latn} || ();
+
for (
[phnx => 'Phoenician'],
[brah => 'Brahmi'],
for (
[phnx => 'Phoenician'],
[brah => 'Brahmi'],
@@
-43,7
+48,10
@@
for (
printf "<p>Table data not found: <em>%s</em>.</p>\n", $! || $@;
next;
}
printf "<p>Table data not found: <em>%s</em>.</p>\n", $! || $@;
next;
}
- $glyphs->print($title => [ map { @$_ } grep { ref $_ eq 'ARRAY' } @table ]);
+ $glyphs->print($title => [map {
+ ref $_ eq 'ARRAY' ? @$_ : map { ".>$_" }
+ $scriptname->{$source.'_'.$_} || $scriptname->{$_} || $_
+ } @table]);
}
:></div>
}
:></div>