groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/03: m4/groff.m4 (GROFF_URW_FONTS_NOTICE): Clarify.


From: G. Branden Robinson
Subject: [groff] 02/03: m4/groff.m4 (GROFF_URW_FONTS_NOTICE): Clarify.
Date: Wed, 1 Mar 2023 06:52:38 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 55d641db578cbb82111340571fef55a7515d9ce9
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Mar 1 04:31:14 2023 -0600

    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.
---
 ChangeLog   | 10 ++++++++++
 m4/groff.m4 | 16 +++++++++++-----
 2 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 738f0bc51..7718b99b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2023-03-01  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * 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.
+
 2023-02-25  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [devpdf]: Revise tests.
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]