| 1 |
#! /bin/sh -vx |
| 2 |
# $Id: skipjfmp.test 75026 2025-04-26 08:08:19Z takuji $ |
| 3 |
# Copyright 2018-2022 Japanese TeX Development Community <[email protected]> |
| 4 |
# Copyright 2018 Karl Berry <[email protected]> |
| 5 |
# You may freely use, modify and/or distribute this file. |
| 6 |
|
| 7 |
BinDir=${BinDir:-.} |
| 8 |
ExeExt=${ExeExt:-} |
| 9 |
_uppltotf=$BinDir/uppltotf$ExeExt |
| 10 |
_uptftopl=$BinDir/uptftopl$ExeExt |
| 11 |
|
| 12 |
test -d uptests || mkdir -p uptests |
| 13 |
|
| 14 |
# Test inputs |
| 15 |
testdir=$srcdir/uptexdir/tests |
| 16 |
|
| 17 |
# Testing pPLtoTF/pTFtoPL compatible mode for SKIP property in GLUEKERN. |
| 18 |
for font in skipjfmp; do |
| 19 |
|
| 20 |
$_uppltotf -kanji=utf8 -verbose $testdir/$font.pl uptests/x$font.tfm && \ |
| 21 |
cmp $testdir/$font.tfm uptests/x$font.tfm && echo || exit 1 |
| 22 |
|
| 23 |
TEXMFCNF=$srcdir/../kpathsea \ |
| 24 |
$_uptftopl -kanji=utf8 -charcode-format octal -verbose $testdir/$font.tfm uptests/x$font.pl && \ |
| 25 |
diff $testdir/$font.pl uptests/x$font.pl && echo || exit 1 |
| 26 |
|
| 27 |
done |
| 28 |
|