diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-03-01 04:31:14 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-03-01 04:31:14 -0600 |
commit | 55d641db578cbb82111340571fef55a7515d9ce9 (patch) | |
tree | 30a0555ced1fad128d1b5d6729a7f727f4495181 /m4 | |
parent | 0ed0e3548ae65c5443aec081beba649727fc1587 (diff) | |
download | groff-git-55d641db578cbb82111340571fef55a7515d9ce9.tar.gz |
m4/groff.m4 (GROFF_URW_FONTS_NOTICE): Clarify.
* m4/groff.m4 (GROFF_URW_FONTS_NOTICE): Adapt wording of notice to
presence and identity of Ghostscript interpreter command. Clarify
that it is gropdf(1) specifically that traverses the Ghostscript
search path reported by its "-h" option.
Continues <https://savannah.gnu.org/bugs/?63808>. Thanks to Deri James
for the ongoing discussion.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/groff.m4 | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/m4/groff.m4 b/m4/groff.m4 index 617e16394..4fcc81190 100644 --- a/m4/groff.m4 +++ b/m4/groff.m4 @@ -407,6 +407,12 @@ dnl entry in font/devpdf/util/BuildFoundries.pl. AC_DEFUN([GROFF_URW_FONTS_NOTICE], [ if test "$groff_have_urw_fonts" = no then + gs_verbiage= + if test "$GHOSTSCRIPT" != missing + then + gs_verbiage=' as well as the search path shown by the + "'"$GHOSTSCRIPT"' -h" command (if available)' + fi AC_MSG_NOTICE([URW fonts in Type 1/PFB format were not found. groff font description files for the URW fonts, used by the 'gropdf' @@ -427,11 +433,11 @@ AC_DEFUN([GROFF_URW_FONTS_NOTICE], [ https://github.com/ArtifexSoftware/urw-base35-fonts/releases - By default, groff will look for these fonts in the search path shown - by the 'gs -h' command (if available) and in several directories - specified in font/devpdf/Foundry.in). You will need to 'make - distclean' and re-run the 'configure' script after installing these - fonts. + 'gropdf' looks for these fonts in several directories specified in + font/devpdf/Foundry.in$gs_verbiage. + + You will need to "make distclean" and re-run the 'configure' script + after installing the URW fonts. Alternatively, you can pass the option '--with-urw-fonts-dir=DIR' to 'configure' to look for them in the directory DIR you specify. |