summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-24 06:37:19 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-25 02:19:16 -0600
commit7c526f264d34b47dd218a442241e61ddf56ec538 (patch)
tree972a49031986f2f6a373a3edae2d2fef4349afe8 /m4
parentbe3697781a78d4382f400c824c0efb96d32d61bf (diff)
downloadgroff-git-7c526f264d34b47dd218a442241e61ddf56ec538.tar.gz
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.
Diffstat (limited to 'm4')
-rw-r--r--m4/groff.m41
1 files changed, 1 insertions, 0 deletions
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 \