gbranden pushed a commit to branch master
in repository groff.

commit 70bb117ece09ef1666f57c953566976246c4dc9e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Oct 14 10:17:16 2025 -0500

    [build,devpdf]: Fix Savannah #65974.
    
    * font/devpdf/Foundry.in:
    * m4/groff.m4 (GROFF_URW_FONTS_CHECK): Add
      "/usr/share/ghostscript/Resource/Font" directory to search path for
      URW font files.  That is apparently the location Arch Linux keeps them
      in.
    
    Fixes <https://savannah.gnu.org/bugs/?65974>.  Thanks to Morten Bo
    Johansen for the report.
---
 ChangeLog              | 11 +++++++++++
 font/devpdf/Foundry.in |  2 +-
 m4/groff.m4            |  1 +
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index dd303b7fd..2bb964fd9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2025-10-14  G. Branden Robinson <[email protected]>
+
+       * font/devpdf/Foundry.in:
+       * m4/groff.m4 (GROFF_URW_FONTS_CHECK): Add
+       "/usr/share/ghostscript/Resource/Font" directory to search path
+       for URW font files.  That is apparently the location Arch Linux
+       keeps them in.
+
+       Fixes <https://savannah.gnu.org/bugs/?65974>.  Thanks to Morten
+       Bo Johansen for the report.
+
 2025-10-09  G. Branden Robinson <[email protected]>
 
        * tmac/s.tmac: Issue helpful diagnostic if it looks like the
diff --git a/font/devpdf/Foundry.in b/font/devpdf/Foundry.in
index 81a10c26d..2986d0418 100644
--- a/font/devpdf/Foundry.in
+++ b/font/devpdf/Foundry.in
@@ -20,7 +20,7 @@
 
 #=======================================================================
 #Foundry|Name|Search path
-foundry||@urwfontsdir@:(gs):/usr/share/fonts/type1/gsfonts:/usr/share/fonts/default/Type1:/usr/share/fonts/default/Type1/adobestd35:/usr/share/fonts/type1/urw-base35:/usr/share/fonts/urw-base35:/opt/local/share/fonts/urw-fonts:/usr/local/share/fonts/ghostscript
+foundry||@urwfontsdir@:(gs):/usr/share/fonts/type1/gsfonts:/usr/share/fonts/default/Type1:/usr/share/fonts/default/Type1/adobestd35:/usr/share/fonts/type1/urw-base35:/usr/share/fonts/urw-base35:/usr/share/ghostscript/Resource/Font:/opt/local/share/fonts/urw-fonts:/usr/local/share/fonts/ghostscript
 
 # Enable the font description files for grops (generated from Adobe
 # foundry font files) to be used with gropdf.  afmtodit must not be
diff --git a/m4/groff.m4 b/m4/groff.m4
index fc1ac25a5..22eafe9a0 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -346,6 +346,7 @@ dnl Keep this list in sync with font/devpdf/Foundry.in.
     /usr/share/fonts/default/Type1/adobestd35/ \
     /usr/share/fonts/type1/urw-base35/ \
     /usr/share/fonts/urw-base35 \
+    /usr/share/ghostscript/Resource/Font \
     /opt/local/share/fonts/urw-fonts/ \
     /usr/local/share/fonts/ghostscript/"
 

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to