X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/451bf471d1e1b84e74eae3683a433f2d4a979d13..4481ab42a10ea48159274387ca93c17840e8c850:/latin.plp diff --git a/latin.plp b/latin.plp index f8472d7..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' @@ -11,6 +11,7 @@ Html({ cursive fraktur blind deaf '], stylesheet => [qw'light dark red'], + data => ['writing-latn.inc.pl'], }); :> @@ -19,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

@@ -35,31 +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', -); - my @table = do 'writing-latn.inc.pl'; if ($! or $@) { - printf "

Table data not found: %s.

\n", $! || $@; + 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";