gbranden pushed a commit to branch master
in repository groff.
commit ac0ed2d49c773ad8dc40ef573d23d8ec5b3afc70
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Oct 9 12:15:35 2022 -0500
[gropdf]: Clarify diagnostic message.
* src/devices/gropdf/gropdf.pl (LoadFont): Clarify diagnostic. gropdf
opens "fonts" in two distinct ways. On the one hand, it opens groff
font description files for essentially all nontrivial output. On the
other, it may open actual Type 1 font files for embedding in a PDF.
Make failure of the former case less confusable with the latter.
---
ChangeLog | 9 +++++++++
src/devices/gropdf/gropdf.pl | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index f2f6001db..d2cd5ecb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-10-09 G. Branden Robinson <[email protected]>
+
+ * src/devices/gropdf/gropdf.pl (LoadFont): Clarify diagnostic.
+ gropdf opens "fonts" in two distinct ways. On the one hand, it
+ opens groff font description files for essentially all
+ nontrivial output. On the other, it may open actual Type 1 font
+ files for embedding in a PDF. Make failure of the former case
+ less confusable with the latter.
+
2022-10-09 G. Branden Robinson <[email protected]>
[ms]: Document new XN/XH and related macros.
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index 4b6b1c009..50d07ca27 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -2366,7 +2366,7 @@ sub LoadFont
OpenFile(\$f,$fontdir,$fontnm);
}
- Die("failed to open font '$ofontnm'") if !defined($f);
+ Die("unable to open font '$ofontnm' for mounting") if !defined($f);
my $foundry='';
$foundry=$1 if $fontnm=~m/^(.*?)-/;
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit