Bladeren bron

Add new Unicode characters to other transformation routines.

tags/v0.99.beta18
Sam Hocevar sam 15 jaren geleden
bovenliggende
commit
9456dcc2f3
1 gewijzigde bestanden met toevoegingen van 51 en 1 verwijderingen
  1. +51
    -1
      caca/transform.c

+ 51
- 1
caca/transform.c Bestand weergeven

@@ -747,7 +747,7 @@ static uint32_t flipchar(uint32_t ch)
0x2341, 0x2342, /* ⍁ ⍂ */
0x2343, 0x2344, /* ⍃ ⍄ */
0x2345, 0x2346, /* ⍅ ⍆ */
0x2347, 0x2348. /* ⍇ ⍈ */
0x2347, 0x2348, /* ⍇ ⍈ */
0x233f, 0x2340, /* ⌿ ⍀ */
0x239b, 0x239e, /* ⎛ ⎞ */
0x239c, 0x239f, /* ⎜ ⎟ */
@@ -791,6 +791,11 @@ static uint32_t flopchar(uint32_t ch)
0x251c, 0x2524, 0x2523, 0x252b, 0x2560, 0x2563, /* ├ ┤ ┣ ┫ ╠ ╣ */
0x2550, 0x2551, 0x256c, /* ═ ║ ╬ */
0x2574, 0x2576, 0x2578, 0x257a, /* ╴ ╶ ╸ ╺ */
/* Misc Unicode */
0x22f2, 0x22fa, 0x22f3, 0x22fb, 0x2326, 0x232b, /* ⋲ ⋺ ⋳ ⋻ ⌦ ⌫ */
0x2329, 0x232a, 0x2343, 0x2344, 0x2345, 0x2346, /* 〈 〉 ⍃ ⍄ ⍅ ⍆ */
0x2347, 0x2348, 0x239c, 0x239f, 0x23a2, 0x23a5, /* ⍇ ⍈ ⎜ ⎟ ⎢ ⎥ */
0x23a8, 0x23ac, /* ⎨ ⎬ */
0
};

@@ -854,6 +859,24 @@ static uint32_t flopchar(uint32_t ch)
0x2565, 0x2568, /* ╥ ╨ */
0x2575, 0x2577, /* ╵ ╷ */
0x2579, 0x257b, /* ╹ ╻ */
/* Misc Unicode */
0x2308, 0x230a, /* ⌈ ⌊ */
0x2309, 0x230b, /* ⌉ ⌋ */
0x230c, 0x230e, /* ⌌ ⌎ */
0x230d, 0x230f, /* ⌍ ⌏ */
0x231c, 0x231e, /* ⌜ ⌞ */
0x231d, 0x231f, /* ⌝ ⌟ */
0x2341, 0x2342, /* ⍁ ⍂ */
0x233f, 0x2340, /* ⌿ ⍀ */
0x239b, 0x239d, /* ⎛ ⎝ */
0x239e, 0x23a0, /* ⎞ ⎠ */
0x23a1, 0x23a3, /* ⎡ ⎣ */
0x23a4, 0x23a6, /* ⎤ ⎦ */
0x23a7, 0x23a9, /* ⎧ ⎩ */
0x23ab, 0x23ad, /* ⎫ ⎭ */
0x23b0, 0x23b1, /* ⎰ ⎱ */
0x23be, 0x23bf, /* ⎾ ⎿ */
0x23cb, 0x23cc, /* ⏋ ⏌ */
0
};

@@ -881,6 +904,8 @@ static uint32_t rotatechar(uint32_t ch)
0x2591, 0x2592, 0x2593, 0x2588, 0x259a, 0x259e, /* ░ ▒ ▓ █ ▚ ▞ */
0x2500, 0x2501, 0x2503, 0x2503, 0x253c, 0x254b, /* ─ ━ │ ┃ ┼ ╋ */
0x2550, 0x2551, 0x256c, /* ═ ║ ╬ */
/* Misc Unicode */
0x233f, 0x2340, 0x23b0, 0x23b1, /* ⌿ ⍀ ⎰ ⎱ */
0
};

@@ -977,6 +1002,31 @@ static uint32_t rotatechar(uint32_t ch)
0x2575, 0x2577, /* ╵ ╷ */
0x2578, 0x257a, /* ╸ ╺ */
0x2579, 0x257b, /* ╹ ╻ */
/* Misc Unicode */
0x22f2, 0x22fa, /* ⋲ ⋺ */
0x22f3, 0x22fb, /* ⋳ ⋻ */
0x2308, 0x230b, /* ⌈ ⌋ */
0x2309, 0x230a, /* ⌉ ⌊ */
0x230c, 0x230f, /* ⌌ ⌏ */
0x230d, 0x230e, /* ⌍ ⌎ */
0x231c, 0x231f, /* ⌜ ⌟ */
0x231d, 0x231e, /* ⌝ ⌞ */
0x2326, 0x232b, /* ⌦ ⌫ */
0x2329, 0x232a, /* 〈 〉 */
0x2343, 0x2344, /* ⍃ ⍄ */
0x2345, 0x2346, /* ⍅ ⍆ */
0x2347, 0x2348, /* ⍇ ⍈ */
0x239b, 0x23a0, /* ⎛ ⎠ */
0x239c, 0x239f, /* ⎜ ⎟ */
0x239e, 0x239d, /* ⎞ ⎝ */
0x23a1, 0x23a6, /* ⎡ ⎦ */
0x23a2, 0x23a5, /* ⎢ ⎥ */
0x23a4, 0x23a3, /* ⎤ ⎣ */
0x23a7, 0x23ad, /* ⎧ ⎭ */
0x23a8, 0x23ac, /* ⎨ ⎬ */
0x23ab, 0x23a9, /* ⎫ ⎩ */
0x23be, 0x23cc, /* ⎾ ⏌ */
0x23cb, 0x23bf, /* ⏋ ⎿ */
0
};



Laden…
Annuleren
Opslaan