summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-15 13:28:29 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-15 23:10:59 -0600
commit1a329068ddccc11e4d91e7825f3de2d1550f75e5 (patch)
tree1e6f222f0615094599334c616da768497ce76b4f /m4
parent37f7bf4fd2dbdbf6ff5dd1b76605d41082ffbba6 (diff)
downloadgroff-git-1a329068ddccc11e4d91e7825f3de2d1550f75e5.tar.gz
m4/groff.m4: Fix Savannah #63808 (1/3).
* m4/groff.m4 (GROFF_CHECK_GROPDF_PROGRAMS): Better characterize gropdf's reduced function, pointing out the ways in which it would be more useful if the dependencies were met. (GROFF_URW_FONTS_NOTICE): Identify 'U' as the foundry name gropdf uses for the URW fonts. Confirm continuing availability of most recent URW fonts release; bump date. Fixes <https://savannah.gnu.org/bugs/?63808>. Thanks to Deri James for the report and extremely helpful pseudocode.
Diffstat (limited to 'm4')
-rw-r--r--m4/groff.m422
1 files changed, 12 insertions, 10 deletions
diff --git a/m4/groff.m4 b/m4/groff.m4
index 3a5627f20..a36c3c341 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -1,5 +1,5 @@
# Autoconf macros for groff.
-# Copyright (C) 1989-2022 Free Software Foundation, Inc.
+# Copyright (C) 1989-2023 Free Software Foundation, Inc.
#
# This file is part of groff.
#
@@ -267,10 +267,12 @@ AC_DEFUN([GROFF_CHECK_GROPDF_PROGRAMS], [
gropdf_notice="The program$plural $missing $verb not found in \
\$PATH.
- Consequently, groff's PDF output driver, 'gropdf', will not work
- fully. It will not be possible to prepare or install some
- groff-generated documentation in PDF. Support is restricted to the
- base 14 fonts of the PDF specification.
+ groff documentation will not be available in PDF.
+
+ 'gropdf' will have reduced function. Only the standard PDF base 14
+ fonts, plus the 'EURO' font groff supplies, will be available, and
+ font embedding with its '-e' option (accessed via the 'groff' command
+ with the option '-P -e') will not be possible.
"
fi
AC_SUBST([use_gropdf])
@@ -352,9 +354,7 @@ AC_DEFUN([GROFF_URW_FONTS_CHECK], [
])
AC_DEFUN([GROFF_URW_FONTS_NOTICE], [
- AC_REQUIRE([GROFF_GHOSTSCRIPT_PATH])
-
- if test "$GHOSTSCRIPT" != missing && test "$groff_have_urw_fonts" = no
+ if test "$groff_have_urw_fonts" = no
then
AC_MSG_NOTICE([URW fonts in Type 1/PFB format were not found.
@@ -362,7 +362,7 @@ AC_DEFUN([GROFF_URW_FONTS_NOTICE], [
properly. You can obtain the URW base 35 fonts from their GitHub
project.
- As of this writing (2021-05-15), you can find them in the 'fonts'
+ As of this writing (2023-02-15), you can find them in the 'fonts'
directory of the following archives (choose one).
https://github.com/ArtifexSoftware/urw-base35-fonts/archive/refs/
@@ -384,7 +384,9 @@ AC_DEFUN([GROFF_URW_FONTS_NOTICE], [
Alternatively, you can pass the option '--with-urw-fonts-dir=DIR'
to 'configure' to look for them in the directory DIR you specify.
- ])
+ If found, the 'U' foundry will be available via the '-y' option to
+ 'gropdf' (accessed via the 'groff' command with the option '-P -y').
+ ])
fi
])