gbranden pushed a commit to branch master
in repository groff.

commit bc6a4c9fe9edf29a9129f81b71b5ad00004f11c6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Feb 3 08:56:56 2026 -0600

    [devpdf]: Tune BuildFoundries's noise level.
    
    * font/devpdf/util/BuildFoundries.pl (LoadFoundry): Tweak warning
      diagnostic to describe the decision being taken and the reason for it.
      Set `notFoundFont` scalar to 1 only if this diagnostic was unexpected
      because the `urwfontsupport` scalar didn't match "no".  This way we
      don't spray the (usually enormous) "path(s) used for searching"
      diagnostic for no apparent reason.
---
 ChangeLog                          | 10 ++++++++++
 font/devpdf/util/BuildFoundries.pl |  9 +++++----
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2a623d9ac..b24e55b0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2026-02-03  G. Branden Robinson <[email protected]>
+
+       * font/devpdf/util/BuildFoundries.pl (LoadFoundry): Tweak
+       warning diagnostic to describe the decision being taken and the
+       reason for it.  Set `notFoundFont` scalar to 1 only if this
+       diagnostic was unexpected because the `urwfontsupport` scalar
+       didn't match "no".  This way we don't spray the (usually
+       enormous) "path(s) used for searching" diagnostic for no
+       apparent reason.
+
 2026-02-03  Dariusz Chilimoniuk <[email protected]>
 
        * tmac/hyphen.pl: New file adds Polish hyphenation patterns and
diff --git a/font/devpdf/util/BuildFoundries.pl 
b/font/devpdf/util/BuildFoundries.pl
index 9489c475c..b0dcea058 100644
--- a/font/devpdf/util/BuildFoundries.pl
+++ b/font/devpdf/util/BuildFoundries.pl
@@ -139,11 +139,12 @@ sub LoadFoundry
                            my $fns=join(', ',split('!',$r[5]));
                            if ($urwfontsupport ne 'no')
                            {
-                             Warn("groff font '$gfont' will not be"
-                                  . " available for PDF output; unable"
-                                  . " to locate font file(s): $fns");
+                             Warn("excluding groff font description"
+                                  . " file '$gfont'; unable to locate"
+                                  . " corresponding font file(s):"
+                                  . "$fns");
+                             $notFoundFont=1;
                            }
-                           $notFoundFont=1;
                            unlink $gfont;
                        }
                    }

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

Reply via email to