diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-19 10:22:10 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-19 10:22:10 -0600 |
commit | 3cf8b8fde598eba34537d71723325bb2f59d09c5 (patch) | |
tree | 6c8b2fb5384e44f3e1e6f59675923270d0b54f8d /font | |
parent | 6e001a7f397438d7f09e97155b3c1ec89c1fc855 (diff) | |
download | groff-git-3cf8b8fde598eba34537d71723325bb2f59d09c5.tar.gz |
Revert "[gropdf]: Bifurcate test of font availability."
This reverts commit 6e001a7f397438d7f09e97155b3c1ec89c1fc855.
Per Deri James, having a Ghostscript executable installed but not a full
set of PostScript level 2 font files installed (the "base 35" plus
groff's "EURO") in discoverable places is _not_ a supported groff
configuration scenario as far as gropdf is concerned.
A test failure is therefore expected in that case.
Diffstat (limited to 'font')
-rwxr-xr-x | font/devpdf/tests/check-default-foundry.sh | 55 |
1 files changed, 19 insertions, 36 deletions
diff --git a/font/devpdf/tests/check-default-foundry.sh b/font/devpdf/tests/check-default-foundry.sh index 9e1c729c5..1ddd83d0b 100755 --- a/font/devpdf/tests/check-default-foundry.sh +++ b/font/devpdf/tests/check-default-foundry.sh @@ -30,23 +30,7 @@ devpdf_fontbuilddir="${abs_top_builddir:-.}"/font/devpdf -base_fonts='CB -CBI -CI -CR -EURO -HB -HBI -HI -HR -S -TB -TBI -TI -TR -ZD' - -additional_fonts='AB +fonts='AB ABI AI AR @@ -54,10 +38,19 @@ BMB BMBI BMI BMR +CB +CBI +CI +CR +EURO +HB +HBI +HI HNB HNBI HNI HNR +HR NB NBI NI @@ -66,11 +59,17 @@ PB PBI PI PR -ZCMI' +S +TB +TBI +TI +TR +ZCMI +ZD' fail= -for f in $base_fonts +for f in $fonts do printf "checking for font description %s...\n" "$f" >&2 if ! [ -f "$devpdf_fontbuilddir"/"$f" ] @@ -80,22 +79,6 @@ do fi done -test -n "$fail" && exit 1 # fail - -# The "Base 35" fonts (not including the PDF base 14) are not guaranteed -# to be present even if the Ghostscript executable is installed. Skip -# the test rather than failing if they're not present. -# -# TODO: Come up with a more sophisicated Autoconf test to detect this. - -for f in $additional_fonts -do - printf "checking for font description %s...\n" "$f" >&2 - if ! [ -f "$devpdf_fontbuilddir"/"$f" ] - then - echo "non-base fonts not available; skipping test" >&2 - exit 77 # skip - fi -done +test -z "$fail" # vim:set ai et sw=4 ts=4 tw=72: |