gbranden pushed a commit to branch master
in repository groff.

commit 7c526f264d34b47dd218a442241e61ddf56ec538
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Feb 24 06:37:19 2023 -0600

    m4/groff.m4: Improve URW font check.
    
    * m4/groff.m4 (GROFF_URW_FONTS_CHECK): When looking for a characteristic
      URW font by its file name, also check for "URWGothic-Book" with no
      file extension.  Avoids false negatives in URW Type 1 font detection
      when using Ghostscript 9.53.3.  Thanks to Deri James for suggesting
      the test procedure that uncovered this flaw.
---
 ChangeLog   | 9 +++++++++
 m4/groff.m4 | 1 +
 2 files changed, 10 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 931717f64..fce638f5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2023-02-24  G. Branden Robinson <[email protected]>
+
+       * m4/groff.m4 (GROFF_URW_FONTS_CHECK): When looking for a
+       characteristic URW font by its file name, also check for
+       "URWGothic-Book" with no file extension.  Avoids false negatives
+       in URW Type 1 font detection when using Ghostscript 9.53.3.
+       Thanks to Deri James for suggesting the test procedure that
+       uncovered this flaw.
+
 2023-02-22  G. Branden Robinson <[email protected]>
 
        * Makefile.am (uninstall_groffdirs): Remove "html.mono" and
diff --git a/m4/groff.m4 b/m4/groff.m4
index b6c5535be..294817544 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -382,6 +382,7 @@ dnl Keep this list in sync with font/devpdf/Foundry.in.
   for k in $_list_paths
   do
     for _font_file in \
+      URWGothic-Book \
       URWGothic-Book.t1 \
       URWGothic-Book.pfb \
       URWGothicL-Book.pfb \

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

Reply via email to