X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/ebe7dcaf5f03dbb732f21aa2523defbd0b9dfbc4..4481ab42a10ea48159274387ca93c17840e8c850:/latin.plp diff --git a/latin.plp b/latin.plp index 8dab21a..8ad53c0 100644 --- a/latin.plp +++ b/latin.plp @@ -2,7 +2,7 @@ Html({ title => 'latin alphabet cheat sheet', - version => 'v1.0', + version => 'v1.1', description => [ ], keywords => [qw' @@ -20,12 +20,7 @@ Html({ font-family: Suetterlin; /* R. G. Arens */ src: url("/suetterlin.ttf"); } - @font-face { - font-family: Gallaudet; - src: url("/gallaudet.ttf"); - } - .glyphs tr:first-child+tr td.di-a { font-family: Suetterlin } - .glyphs tr:first-child+tr+tr td.di-a { font-family: Gallaudet } + .glyphs tr:first-child+tr+tr td { font-family: Suetterlin }

Latin alphabet

@@ -36,32 +31,14 @@ and common chars.

<: -use Shiar_Sheet::FormatChar; -my $glyphs = Shiar_Sheet::FormatChar->new; -unless (exists $get{v}) { - $glyphs->{unicode}--; - $glyphs->{anno} = []; - $glyphs->{style} = 0; -} - -my %scriptname = ( - latn => 'Latin', - latfsuet => 'Sütterlin', - ase => 'ASL shapes', - brai => 'Braille', - morse => 'Morse', - tap => 'Tap code', -); - my @table = do 'writing-latn.inc.pl'; if ($! or $@) { printf "

Table data not found: %s.

\n", $@ || $!; } else { - print $glyphs->table([map { - ref $_ ne 'ARRAY' ? ".>$scriptname{$_}" - : exists $get{uc} ? map {uc} @$_ : @$_ - } @table]); + print ''; + print ref $_ ne 'ARRAY' ? "
$_" : map {"$_"} @$_ for @table; + print "
\n\n"; } print "
\n";