diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-06-23 13:57:55 +0200 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-06-23 13:57:55 +0200 |
commit | 0f6c779cf4f18457a60cb06b774009670ab90c4b (patch) | |
tree | 4394d93f66edcd784feb967bafbfecb3e4ee9366 /m4 | |
parent | d55157d39ab4d01bccea276122a2f3a5b1e30452 (diff) | |
download | groff-git-0f6c779cf4f18457a60cb06b774009670ab90c4b.tar.gz |
sync the font path from the PDF Foundry to ./configure
OK deri@ gbranden@
Diffstat (limited to 'm4')
-rw-r--r-- | m4/groff.m4 | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/m4/groff.m4 b/m4/groff.m4 index 8740ce10c..6f43f956e 100644 --- a/m4/groff.m4 +++ b/m4/groff.m4 @@ -288,10 +288,8 @@ AC_DEFUN([GROFF_URW_FONTS_PATH], [ ]) # Check availability of URW fonts in the search path given by 'gs -h' -# supplemented with -# /usr/share/fonts/type1/gsfonts/:/opt/local/share/fonts/urw-fonts -# (where font/devpdf/Foundry.in expects them), or in the custom -# directory passed to 'configure'. +# supplemented with the paths where font/devpdf/Foundry.in expects them, +# or in the custom directory passed to 'configure'. AC_DEFUN([GROFF_URW_FONTS_CHECK], [ AC_REQUIRE([GROFF_AWK_PATH]) @@ -301,8 +299,13 @@ AC_DEFUN([GROFF_URW_FONTS_CHECK], [ then AC_MSG_CHECKING([for URW fonts in Type 1/PFB format]) _list_paths=`$GHOSTSCRIPT -h | $AWK 'BEGIN { found = 0 } /Search path:/ { found = 1 } /^[ ]*\// { print $'0' }'| tr : ' '` - _list_paths="$_list_paths /usr/share/fonts/type1/gsfonts/ \ - /opt/local/share/fonts/urw-fonts/" + _list_paths="$_list_paths \ + /usr/share/fonts/type1/gsfonts/ \ + /usr/share/fonts/default/Type1/ \ + /usr/share/fonts/default/Type1/adobestd35/ \ + /usr/share/fonts/type1/urw-base35/ \ + /opt/local/share/fonts/urw-fonts/ \ + /usr/local/share/fonts/ghostscript/" if test -n "$urwfontsdir" then _list_paths="$ _list_paths $urwfontsdir" |