Browse Source

* More widechar rotations. \/ > /\ < is cool.

tags/v0.99.beta14
Sam Hocevar sam 17 years ago
parent
commit
4e6ef71aed
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      cucul/transform.c

+ 6
- 0
cucul/transform.c View File

@@ -985,6 +985,7 @@ static uint32_t const leftright2x4[] =
'/', ' ', '-', '.', ' ', '/', '\'', '-', /* fallback ASCII */
'\\', ' ', ',', '-', ' ', '\\', '-', 0x00b4, /* \ ,- \ -´ */
'\\', ' ', '.', '-', ' ', '\\', '-', '\'', /* fallback ASCII */
'\\', ' ', '_', ',', ' ', '\\', 0x00b4, 0x203e, /* \ _, \ ´‾ */
'\\', '_', '_', '/', 0x203e, '\\', '/', 0x203e, /* \_ _/ ‾\ /‾ */
'|', ' ', '_', '_', ' ', '|', 0x203e, 0x203e, /* | __ | ‾‾ */
'_', '|', 0x203e, '|', '|', 0x203e, '|', '_', /* _| ‾| |‾ |_ */
@@ -992,8 +993,13 @@ static uint32_t const leftright2x4[] =
'_', ' ', ' ', 0x2577, ' ', 0x203e, 0x2575, ' ', /* _ ╷ ‾ ╵ */
' ', '_', ' ', 0x2575, 0x203e, ' ', 0x2577, ' ', /* _ ╵ ‾ ╷ */
'.', '_', '.', 0x2575, 0x203e, '\'', 0x2577, '\'', /* ._ .╵ ‾' ╷' */
'\\', '/', 0xff1e, CUCUL_MAGIC_FULLWIDTH,
'/', '\\', 0xff1c, CUCUL_MAGIC_FULLWIDTH, /* \/ > /\ < */
/* Not perfect, but better than nothing */
'(', ' ', 0x02ce, ',', ' ', ')', 0x00b4, '`', /* ( ˎ, ) ´` */
')', ' ', ',', 0x02ce, ' ', '(', '`', 0x00b4, /* ) ,ˎ ( `´ */
' ', 'V', '>', ' ', 0x039b, ' ', ' ', '<', /* V > Λ < */
'V', ' ', '>', ' ', ' ', 0x039b, ' ', '<', /* V > Λ < */
/* Unicode */
0x2584, ' ', ' ', 0x2584, ' ', 0x2580, 0x2580, ' ', /* ▄ ▄ ▀ ▀ */
0x2588, ' ', 0x2584, 0x2584, ' ', 0x2588, 0x2580, 0x2580, /* █ ▄▄ █ ▀▀ */


Loading…
Cancel
Save