From 516b9e175396ff8409f2120bec8aa0d2672452dd Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Tue, 29 May 2012 09:37:01 +0200 Subject: [PATCH] terminal: fix up horizontal scan-line characters The DEC special graphics set defines entries 0x6f to 0x73 to be: Horizontal Scan Line 1 Horizontal Scan Line 3 Horizontal Scan Line 5 Horizontal Scan Line 7 Horizontal Scan Line 9 However, the first Unicode drafts included only Scan-Line 5. Since Unicode-3.2 the other Scan-Lines were added and are available in most Unicode fonts now. The codes are listed here: http://www.fileformat.info/info/unicode/block/miscellaneous_technical/images.htm?start=9089 Or more precisely: Scan 1: http://www.fileformat.info/info/unicode/char/23ba/index.htm Scan 3: http://www.fileformat.info/info/unicode/char/23bb/index.htm Scan 7: http://www.fileformat.info/info/unicode/char/23bc/index.htm Scan 9: http://www.fileformat.info/info/unicode/char/23bd/index.htm Scan 5 is kept the same as before as it wasn't added separately and was already correct before. Signed-off-by: David Herrmann --- clients/terminal.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clients/terminal.c b/clients/terminal.c index 32648dd..a3c806e 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -195,11 +195,11 @@ static struct char_sub CS_SPECIAL[] = { {{{'l', 0, }}, {{0xE2, 0x94, 0x8C, 0}}}, /* CN_LT */ {{{'m', 0, }}, {{0xE2, 0x94, 0x94, 0}}}, /* CN_RB */ {{{'n', 0, }}, {{0xE2, 0x94, 0xBC, 0}}}, /* CROSS */ - {{{'o', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */ - {{{'p', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */ - {{{'q', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */ - {{{'r', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */ - {{{'s', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */ + {{{'o', 0, }}, {{0xE2, 0x8E, 0xBA, 0}}}, /* Horiz. Scan Line 1 */ + {{{'p', 0, }}, {{0xE2, 0x8E, 0xBB, 0}}}, /* Horiz. Scan Line 3 */ + {{{'q', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* Horiz. Scan Line 5 */ + {{{'r', 0, }}, {{0xE2, 0x8E, 0xBC, 0}}}, /* Horiz. Scan Line 7 */ + {{{'s', 0, }}, {{0xE2, 0x8E, 0xBD, 0}}}, /* Horiz. Scan Line 9 */ {{{'t', 0, }}, {{0xE2, 0x94, 0x9C, 0}}}, /* TR */ {{{'u', 0, }}, {{0xE2, 0x94, 0xA4, 0}}}, /* TL */ {{{'v', 0, }}, {{0xE2, 0x94, 0xB4, 0}}}, /* TU */ -- 2.7.4