gbranden pushed a commit to branch master
in repository groff.

commit e657eea03484649dce451803d74cec79db1dda6b
Author: G. Branden Robinson <g.branden.robin...@gmail.com>
AuthorDate: Wed Jul 9 04:44:07 2025 -0500

    [gropdf]: Tweak warning diagnostic.
    
    * src/devices/gropdf/gropdf.pl (LoadFont): Tweak warning diagnostic
      emitted when a "download" file entry is invalid (typically because the
      font file named there doesn't exist).
---
 ChangeLog                    | 6 ++++++
 src/devices/gropdf/gropdf.pl | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d99a6d370..9ca5ac3e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-07-09  G. Branden Robinson <g.branden.robin...@gmail.com>
+
+       * src/devices/gropdf/gropdf.pl (LoadFont): Tweak warning
+       diagnostic emitted when a "download" file entry is invalid
+       {typically because the font file named there doesn't exist}.
+
 2025-07-08  G. Branden Robinson <g.branden.robin...@gmail.com>
 
        * src/devices/gropdf/gropdf.pl (LoadDownload): Trivially
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index 9175f86e0..6d6351415 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -3574,9 +3574,9 @@ sub LoadFont
     {
        if (exists($missing{$fontkey}))
        {
-           Warn("The download file in '$missing{$fontkey}' "
-           . " has erroneous entry for '$fnt{internalname}'"
-           . " (groff font description file '$ofontnm' from"
+           Warn("download file '$missing{$fontkey}' has invalid entry"
+           . " for font '$fnt{internalname}' corresponding to groff"
+           . " font description file '$ofontnm' from"
            . " $foundryDescription)");
        }
        else

_______________________________________________
groff-commit mailing list
groff-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to