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 <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2012-05-29 09:37:01 +02:00 committed by Kristian Høgsberg
parent a261f7e6dc
commit 516b9e1753
1 changed files with 5 additions and 5 deletions

View File

@ -195,11 +195,11 @@ static struct char_sub CS_SPECIAL[] = {
{{{'l', 0, }}, {{0xE2, 0x94, 0x8C, 0}}}, /* CN_LT */ {{{'l', 0, }}, {{0xE2, 0x94, 0x8C, 0}}}, /* CN_LT */
{{{'m', 0, }}, {{0xE2, 0x94, 0x94, 0}}}, /* CN_RB */ {{{'m', 0, }}, {{0xE2, 0x94, 0x94, 0}}}, /* CN_RB */
{{{'n', 0, }}, {{0xE2, 0x94, 0xBC, 0}}}, /* CROSS */ {{{'n', 0, }}, {{0xE2, 0x94, 0xBC, 0}}}, /* CROSS */
{{{'o', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */ {{{'o', 0, }}, {{0xE2, 0x8E, 0xBA, 0}}}, /* Horiz. Scan Line 1 */
{{{'p', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */ {{{'p', 0, }}, {{0xE2, 0x8E, 0xBB, 0}}}, /* Horiz. Scan Line 3 */
{{{'q', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */ {{{'q', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* Horiz. Scan Line 5 */
{{{'r', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */ {{{'r', 0, }}, {{0xE2, 0x8E, 0xBC, 0}}}, /* Horiz. Scan Line 7 */
{{{'s', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */ {{{'s', 0, }}, {{0xE2, 0x8E, 0xBD, 0}}}, /* Horiz. Scan Line 9 */
{{{'t', 0, }}, {{0xE2, 0x94, 0x9C, 0}}}, /* TR */ {{{'t', 0, }}, {{0xE2, 0x94, 0x9C, 0}}}, /* TR */
{{{'u', 0, }}, {{0xE2, 0x94, 0xA4, 0}}}, /* TL */ {{{'u', 0, }}, {{0xE2, 0x94, 0xA4, 0}}}, /* TL */
{{{'v', 0, }}, {{0xE2, 0x94, 0xB4, 0}}}, /* TU */ {{{'v', 0, }}, {{0xE2, 0x94, 0xB4, 0}}}, /* TU */