chiark
/
gitweb
/
~bjharris
/
bedstead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b16154
)
Add 4-cell separated graphics at their proper Unicode code points
author
Ben Harris
<bjh21@bjh21.me.uk>
Mon, 25 Nov 2024 10:35:39 +0000
(10:35 +0000)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Mon, 25 Nov 2024 10:35:39 +0000
(10:35 +0000)
I hadn't noticed that they're included in the Symbols For Legacy
Computing Supplement as well. Apparently they were part of the Sharp
MZ character set.
bedstead.c
patch
|
blob
|
history
diff --git
a/bedstead.c
b/bedstead.c
index 7ce80cc1078d18b471b35e004b1da421fbc790f0..f6eaba0c7637025611cae6591760db2cfaa64dcf 100644
(file)
--- a/
bedstead.c
+++ b/
bedstead.c
@@
-2467,6
+2467,12
@@
static struct glyph {
{"\00\00\27\30\20\20\20\00\00", U(1047E) }, /* ian */
{"\00\00\20\20\22\25\15\00\00", U(1047F) }, /* yew */
+ /* Symbols for legacy computing supplement */
+#define M(x) { {0x ## x}, U(1CC2 ## x), SEP4 }
+ /* */ M(1), M(2), M(3), M(4), M(5), M(6), M(7),
+ M(8), M(9), M(A), M(B), M(C), M(D), M(E), M(F),
+#undef M
+
/* Musical symbols */
{"\04\04\04\04\04\04\04\04\04", U(1D100) }, /* bar line */
{"\12\12\12\12\12\12\12\12\12", U(1D101) }, /* double bar line */