aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/chars.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-21 16:06:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-21 16:06:48 +0000
commit9faad2ae0e7caf95d294df3c2ba845e98e0fff85 (patch)
tree9d307d4a059fb425db0d7f4e0bd47c3b5548d268 /chars.c
parentad0864c38192de84199a5ec12f8ae619a3f124c6 (diff)
downloadmandoc-9faad2ae0e7caf95d294df3c2ba845e98e0fff85.tar.gz
mandoc-9faad2ae0e7caf95d294df3c2ba845e98e0fff85.tar.zst
mandoc-9faad2ae0e7caf95d294df3c2ba845e98e0fff85.zip
Improve the ASCII rendering of \(Po (Pound Sterling)
and of the playing card suits to match groff, using feedback from Ralph Corderoy <ralph at inputplus dot co dot uk>.
Diffstat (limited to 'chars.c')
-rw-r--r--chars.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/chars.c b/chars.c
index 46f408d4..c55f9e27 100644
--- a/chars.c
+++ b/chars.c
@@ -1,4 +1,4 @@
-/* $Id: chars.c,v 1.75 2018/08/21 01:59:22 schwarze Exp $ */
+/* $Id: chars.c,v 1.76 2018/08/21 16:06:48 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -83,10 +83,10 @@ static struct ln lines[] = {
{ "sh", "#", 0x0023 },
{ "CR", "<cr>", 0x21b5 },
{ "OK", "\\/", 0x2713 },
- { "CL", "<club>", 0x2663 },
- { "SP", "<spade>", 0x2660 },
- { "HE", "<heart>", 0x2665 },
- { "DI", "<diamond>", 0x2666 },
+ { "CL", "C", 0x2663 },
+ { "SP", "S", 0x2660 },
+ { "HE", "H", 0x2665 },
+ { "DI", "D", 0x2666 },
/* Legal symbols. */
{ "co", "(C)", 0x00a9 },
@@ -363,7 +363,7 @@ static struct ln lines[] = {
{ "Eu", "EUR", 0x20ac },
{ "eu", "EUR", 0x20ac },
{ "Ye", "=\bY", 0x00a5 },
- { "Po", "GBP", 0x00a3 },
+ { "Po", "-\bL", 0x00a3 },
{ "Cs", "o\bx", 0x00a4 },
{ "Fn", ",\bf", 0x0192 },