gbranden pushed a commit to branch master
in repository groff.

commit db312063107827ca32da217ff74267dbeae06ccb
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Jan 29 13:50:51 2026 -0600

    font/devpdf/util/BuildFoundries.pl: Adjust diags.
    
    * font/devpdf/util/BuildFoundries.pl (LoadFoundry): Tweak wording of
      warning diagnostic; favor "cannot" over "unable to" or "can't".
    
      (RunAfmtodit): Clarify warning diagnostic: this script _could_ pass
      unrecognized options to afmtodit(1); it _chooses_ not to.  Also use
      the word "option" instead of "flag"--not all of afmtodit's
      command-line options are Boolean-valued.
---
 ChangeLog                          | 10 ++++++++++
 font/devpdf/util/BuildFoundries.pl |  6 ++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fe1a4d27e..55163224d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2026-01-29  G. Branden Robinson <[email protected]>
+
+       * font/devpdf/util/BuildFoundries.pl (LoadFoundry): Tweak
+       wording of warning diagnostic; favor "cannot" over "unable to"
+       or "can't".
+       (RunAfmtodit): Clarify warning diagnostic: this script _could_
+       pass unrecognized options to afmtodit(1); it _chooses_ not to.
+       Also use the word "option" instead of "flag"--not all of
+       afmtodit's command-line options are Boolean-valued.
+
 2026-01-29  G. Branden Robinson <[email protected]>
 
        Propagate "configure" shell variable `urwfontsupport` into
diff --git a/font/devpdf/util/BuildFoundries.pl 
b/font/devpdf/util/BuildFoundries.pl
index f61ec069c..9489c475c 100644
--- a/font/devpdf/util/BuildFoundries.pl
+++ b/font/devpdf/util/BuildFoundries.pl
@@ -152,7 +152,8 @@ sub LoadFoundry
                }
                else
                {
-                   Warn("Can't read grops font '$r[0]' for Foundry 
'$foundry'");
+                   Warn("cannot read grops font '$r[0]' for Foundry"
+                        . " '$foundry'");
                }
            }
            else
@@ -207,7 +208,8 @@ sub RunAfmtodit
     {
        if (!exists($flg{$f}))
        {
-           Warn("Can't use undefined flag '$f' in calling afmtodit for groff 
font '$gfont'");
+           Warn("refusing to pass unrecognized option '$f' to afmtodit"
+                . " for groff font '$gfont'");
            return('');
        }
 

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

Reply via email to