groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/08: m4/groff.m4: Improve URW font check.


From: G. Branden Robinson
Subject: [groff] 01/08: m4/groff.m4: Improve URW font check.
Date: Sat, 25 Feb 2023 06:57:29 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 7c526f264d34b47dd218a442241e61ddf56ec538
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
+
+       * 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 <g.branden.robinson@gmail.com>
 
        * 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 \



reply via email to

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