X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/e155b6dc4a8a43375d222c6a920a59fceb23e128..29a87b835d71d96bef2a123b68b1bf5fa3ce1608:/latin.plp diff --git a/latin.plp b/latin.plp index f91055d..12482e1 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

@@ -39,25 +35,17 @@ use Shiar_Sheet::FormatChar; my $glyphs = Shiar_Sheet::FormatChar->new; unless (exists $get{v}) { $glyphs->{unicode}--; - $glyphs->{anno} = 0; + $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{$_}" + ref $_ ne 'ARRAY' ? ".>$_" : exists $get{uc} ? map {uc} @$_ : @$_ } @table]); }