gbranden pushed a commit to branch master
in repository groff.
commit c8c12921039fc5540cdf4a81d77afc79714a7b74
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jul 4 04:49:52 2025 -0500
[gropdf]: Recast embedding failure diagnostic.
* src/devices/gropdf/gropdf.pl (LoadFont): Recast embedding failure
diagnostic.
Continues fixing Savannah #66519.
---
ChangeLog | 7 +++++++
src/devices/gropdf/gropdf.pl | 6 +++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a563efdde..699b3642f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-07-04 G. Branden Robinson <[email protected]>
+
+ * src/devices/gropdf/gropdf.pl (LoadFont): Recast diagnostic
+ message.
+
+ Continues fixing Savannah #66519.
+
2025-07-04 G. Branden Robinson <[email protected]>
* src/devices/gropdf/gropdf.pl (LoadFont): Add a `Notice()` of
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index efc782637..ae5efe04d 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -3538,9 +3538,9 @@ sub LoadFont
{
my $sub=\&Warn;
$sub=\&Die if ($makeWarningsFatal);
- &$sub("unable to embed font file for '$fnt{internalname}'"
- . " ($ofontnm) (missing entry in 'download' file?)")
- if $embedall;
+ &$sub("cannot embed font file for '$fnt{internalname}'; no"
+ . " 'download' file has an entry for groff font description"
+ . " file '$ofontnm'") if $embedall;
}
}
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit