groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: sync the font path from the PDF Foundry to ./configure


From: Ingo Schwarze
Subject: [groff] 01/01: sync the font path from the PDF Foundry to ./configure
Date: Thu, 23 Jun 2022 08:07:31 -0400 (EDT)

schwarze pushed a commit to branch master
in repository groff.

commit 0f6c779cf4f18457a60cb06b774009670ab90c4b
Author: Ingo Schwarze <schwarze@openbsd.org>
AuthorDate: Thu Jun 23 13:57:55 2022 +0200

    sync the font path from the PDF Foundry to ./configure
    
    OK deri@ gbranden@
---
 m4/groff.m4 | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/m4/groff.m4 b/m4/groff.m4
index 8740ce10..6f43f956 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"



reply via email to

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