diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-24 06:37:19 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-25 02:19:16 -0600 |
commit | 7c526f264d34b47dd218a442241e61ddf56ec538 (patch) | |
tree | 972a49031986f2f6a373a3edae2d2fef4349afe8 | |
parent | be3697781a78d4382f400c824c0efb96d32d61bf (diff) | |
download | groff-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.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | m4/groff.m4 | 1 |
2 files changed, 10 insertions, 0 deletions
@@ -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 \ |