From: Mischa POSLAWSKY Date: Fri, 27 Oct 2023 18:18:55 +0000 (+0200) Subject: sample: preview image of rendered font overview X-Git-Tag: v1.15~32 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/bc90ff6381dc84bc5a16f2f337abad58f74bb116 sample: preview image of rendered font overview Example of expected typesetting using unscii with some manual touch-ups mostly of misalignments and missing coverage. --- diff --git a/sample.plp b/sample.plp index b4d2c44..adae7bd 100644 --- a/sample.plp +++ b/sample.plp @@ -1,12 +1,15 @@ <(common.inc.plp)><: my $textinc = 'data/unicode-sampler/unicode.txt'; +my $proto = sprintf('http%s://', !!$ENV{HTTPS} && 's'); +my $preview = "$proto$ENV{HTTP_HOST}/sample.png"; Html({ title => "unicode sampler", version => '2.0', stylesheet => [qw'light dark mono red'], data => [$textinc], + raw => qq(), }); open my $source, '<', $textinc diff --git a/sample.png b/sample.png new file mode 100644 index 0000000..8895b26 Binary files /dev/null and b/sample.png differ