[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 12/12: [libgroff]: Update "kern pair" diagnostic wording.
From: |
G. Branden Robinson |
Subject: |
[groff] 12/12: [libgroff]: Update "kern pair" diagnostic wording. |
Date: |
Sat, 20 Nov 2021 05:19:14 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit ae49266159042be4af488f5456e6435672934960
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Nov 20 09:44:55 2021 +1100
[libgroff]: Update "kern pair" diagnostic wording.
* src/libs/libgroff/font.cpp (font::load): Update diagnostic messages to
say "kerning pair" instead of "kern pair".
---
ChangeLog | 5 +++++
src/libs/libgroff/font.cpp | 7 ++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e49cde3..2a43f7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2021-11-20 G. Branden Robinson <g.branden.robinson@gmail.com>
+ * src/libs/libgroff/font.cpp (font::load): Update diagnostic
+ messages to say "kerning pair" instead of "kern pair".
+
+2021-11-20 G. Branden Robinson <g.branden.robinson@gmail.com>
+
* src/roff/troff/input.cpp (read_size): Update diagnostic
messages to use more normative language: say "type size" instead
of "point-size", and "escape sequence" instead of "escape".
diff --git a/src/libs/libgroff/font.cpp b/src/libs/libgroff/font.cpp
index 14a7562..0f6a7b9 100644
--- a/src/libs/libgroff/font.cpp
+++ b/src/libs/libgroff/font.cpp
@@ -898,13 +898,14 @@ bool font::load(bool load_header_only)
}
p = strtok(0, WS);
if (0 == p) {
- t.error("missing kern amount for kern pair '%1 %2'", c1, c2);
+ t.error("missing kern amount for kerning pair '%1 %2'", c1,
+ c2);
return false;
}
int n;
if (sscanf(p, "%d", &n) != 1) {
- t.error("invalid kern amount '%1' for kern pair '%2 %3'", p,
- c1, c2);
+ t.error("invalid kern amount '%1' for kerning pair '%2 %3'",
+ p, c1, c2);
return false;
}
glyph *g1 = name_to_glyph(c1);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 12/12: [libgroff]: Update "kern pair" diagnostic wording.,
G. Branden Robinson <=