[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 17/37: [libxutil]: Fix incorrect Latin-1 glyph mappings.
From: |
G. Branden Robinson |
Subject: |
[groff] 17/37: [libxutil]: Fix incorrect Latin-1 glyph mappings. |
Date: |
Mon, 14 Mar 2022 01:59:09 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit ad9df7ba51aba59956c06767ff04de68555b7c6c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Mar 7 14:48:58 2022 +1100
[libxutil]: Fix incorrect Latin-1 glyph mappings.
* src/libs/libxutil/DviChar.c (ISO_8859_1_map): Fix incorrect assignment
of Latin-1 grave accent to \[oq] special character; reassign it to the
neutral apostrophe. Map \[aq] to neutral apostrophe. Map \[ga] to `.
---
ChangeLog | 7 +++++++
src/libs/libxutil/DviChar.c | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7ddee364..087b17c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-03-07 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * src/libs/libxutil/DviChar.c (ISO_8859_1_map): Fix incorrect
+ assignment of Latin-1 grave accent to \[oq] special character;
+ reassign it to the neutral apostrophe. Map \[aq] to neutral
+ apostrophe. Map \[ga] to '`'.
+
2022-03-07 G. Branden Robinson <g.branden.robinson@gmail.com>
* src/utils/xtotroff/xtotroff.1.man (Options) <-d>: Document it.
diff --git a/src/libs/libxutil/DviChar.c b/src/libs/libxutil/DviChar.c
index d44e27c3..fe086fc0 100644
--- a/src/libs/libxutil/DviChar.c
+++ b/src/libs/libxutil/DviChar.c
@@ -186,7 +186,7 @@ static DviCharNameMap ISO8859_1_map = {
{ "$", "Do", /* 36 */},
{ "%", /* 37 */},
{ "&", /* 38 */},
-{ "'", "cq", /* 39 */},
+{ "'", "aq", "cq", "oq", /* 39 */},
{ "(", /* 40 */},
{ ")", /* 41 */},
{ "*", /* 42 */},
@@ -243,7 +243,7 @@ static DviCharNameMap ISO8859_1_map = {
{ "]", "rB", /* 93 */},
{ "^", "a^", "ha", /* 94 */},
{ "_", /* 95 */},
-{ "`", "oq", /* 96 */},
+{ "`", "ga", /* 96 */},
{ "a", /* 97 */},
{ "b", /* 98 */},
{ "c", /* 99 */},
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 17/37: [libxutil]: Fix incorrect Latin-1 glyph mappings.,
G. Branden Robinson <=