X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/0ef6354c95222a6da6db28bf1e6d536f5fae8282..ccc4981ff62e695908a9855041b9669800a733ed:/font.plp diff --git a/font.plp b/font.plp index 402c476..cc07c05 100644 --- a/font.plp +++ b/font.plp @@ -1,7 +1,6 @@ <(common.inc.plp)><: -use 5.014; -my $font = $ENV{PATH_INFO} =~ s{^/}{}r; +my $font = $Request; Html({ title => 'font coverage '.($font ? "for $font" : 'sheet'), @@ -108,7 +107,7 @@ EOT say sprintf '%X', $cp if $colpos++ % $pagecols == 0; my $info = $glyphs->glyph_info($cp); - my ($class, $name, $mnem, $html, $string) = @{$info}; + my ($class, $name, $mnem, $entity, $string) = @{$info}; my $np = $class =~ /\bC\S\b/; # noprint if control or invalid # display literal character, with placeholder circle if non-spacing/enclosing my $html = ($class =~ /\bM[ne]\b/ && chr 9676) . EscapeHTML(chr $cp);