gbranden pushed a commit to branch master
in repository groff.
commit 21ae05c5c6cbd79d11ff51f12110da4766e3d5e6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Oct 10 07:36:45 2022 -0500
[gropdf]: Alter font embedding failure diagnostic.
* src/devices/gropdf/gropdf.pl (GetType1): Clarify diagnostic. When
failing to open a font file for embedding in a PDF, mention this
context.
---
ChangeLog | 6 ++++++
src/devices/gropdf/gropdf.pl | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 6beb8c63f..a772f2b01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-10-10 G. Branden Robinson <[email protected]>
+
+ * src/devices/gropdf/gropdf.pl (GetType1): Clarify diagnostic.
+ When failing to open a font file for embedding in a PDF, mention
+ this context.
+
2022-10-09 G. Branden Robinson <[email protected]>
* src/utils/afmtodit/afmtodit.tables: Update against Unicode 15.
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index 50d07ca27..37f6e5644 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -2571,7 +2571,7 @@ sub GetType1
my $f;
OpenFile(\$f,$fontdir,"$file");
- Die("failed to open '$file'") if !defined($f);
+ Die("unable to open font '$file' for embedding") if !defined($f);
$head=GetChunk($f,1,"currentfile eexec");
$body=GetChunk($f,2,"00000000") if !eof($f);
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit