vt: add more cp437 mappings for vga textmode
In UTF-8 locales mandoc uses a number of characters outside of the Basic Latin group, e.g. from general punctuation or miscellaneous mathematical symbols, and these rendered as ? in text mode. This change adds (char, replacement, code point, description): ¦ | U+00A6 Broken bar ✓ √ U+2713 Checkmark Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
60b7b90d65
commit
649d7b463a
@ -205,6 +205,7 @@ static const struct unicp437 cp437table[] = {
|
||||
{ 0x0020, 0x20, 0x5e }, { 0x00a0, 0x20, 0x00 },
|
||||
{ 0x00a1, 0xad, 0x00 }, { 0x00a2, 0x9b, 0x00 },
|
||||
{ 0x00a3, 0x9c, 0x00 }, { 0x00a5, 0x9d, 0x00 },
|
||||
{ 0x00a6, 0x7c, 0x00 },
|
||||
{ 0x00a7, 0x15, 0x00 }, { 0x00aa, 0xa6, 0x00 },
|
||||
{ 0x00ab, 0xae, 0x00 }, { 0x00ac, 0xaa, 0x00 },
|
||||
{ 0x00b0, 0xf8, 0x00 }, { 0x00b1, 0xf1, 0x00 },
|
||||
@ -287,8 +288,8 @@ static const struct unicp437 cp437table[] = {
|
||||
{ 0x2640, 0x0c, 0x00 }, { 0x2642, 0x0b, 0x00 },
|
||||
{ 0x2660, 0x06, 0x00 }, { 0x2663, 0x05, 0x00 },
|
||||
{ 0x2665, 0x03, 0x01 }, { 0x266a, 0x0d, 0x00 },
|
||||
{ 0x266c, 0x0e, 0x00 }, { 0x27e8, 0x3c, 0x00 },
|
||||
{ 0x27e9, 0x3e, 0x00 },
|
||||
{ 0x266c, 0x0e, 0x00 }, { 0x2713, 0xfb, 0x00 },
|
||||
{ 0x27e8, 0x3c, 0x00 }, { 0x27e9, 0x3e, 0x00 },
|
||||
};
|
||||
|
||||
static uint8_t
|
||||
|
Loading…
x
Reference in New Issue
Block a user