[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 34/39: [gropdf]: Clarify diagnostic message.
From: |
G. Branden Robinson |
Subject: |
[groff] 34/39: [gropdf]: Clarify diagnostic message. |
Date: |
Sun, 9 Oct 2022 23:53:40 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit ac0ed2d49c773ad8dc40ef573d23d8ec5b3afc70
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
+
+ * 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 <g.branden.robinson@gmail.com>
[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/^(.*?)-/;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 34/39: [gropdf]: Clarify diagnostic message.,
G. Branden Robinson <=