common: global Data() to parse perl code includes
[sheet.git] / unicode.plp
index 50e169ac905931b4bac4e6cde54a54b2d17ce75f..0ba7c3f46cdc8975bea9ec67006ea751062f42c4 100644 (file)
@@ -2,7 +2,7 @@
 
 Html({
        title => 'unicode glyph cheat sheet',
-       version => '1.2',
+       version => '1.3',
        description => [
                "Common Unicode characters with digraph or code point, layed out for quick location.",
                "Includes general symbols, arrows, drawing characters, and IPA letters.",
@@ -85,11 +85,11 @@ my @config = qw(
                        double
                        white
                        black
+                       triangle
+                       barb
                        block
                        blacktri
                        whitetri
-                       ?-large
-                       ?-heavy
        Line_drawing
                lines/double
                        doubleh
@@ -107,6 +107,7 @@ my @config = qw(
                        fill4
                        fill4i
                        fill8
+                       colour
        IPA
                ipa/cons
                        consco
@@ -128,7 +129,7 @@ splice @config, 4, 2, qw(
 
 $_ and m{/*+(.+)} and @config = split /[ ]/, $1 for $Request, $get{q};
 
-my $tables = do 'unicode-table.inc.pl' or die $@ || $!;
+my $tables = Data('unicode-table');
 
 $glyphs->print(map {
        $_ = /(.*)\?(.*)/ ? ($verbose ? $2 : $1) : $_;