From 919055b686ce75af81b01aeaab422a226dc5f3c0 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 29 Mar 2010 10:48:24 +0000 Subject: [PATCH] * Add few unicode charecters to the flip table --- caca/transform.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/caca/transform.c b/caca/transform.c index 976fb3c..05a2060 100644 --- a/caca/transform.c +++ b/caca/transform.c @@ -733,6 +733,34 @@ static uint32_t flipchar(uint32_t ch) 0x2560, 0x2563, /* ╠ ╣ */ 0x2574, 0x2576, /* ╴ ╶ */ 0x2578, 0x257a, /* ╸ ╺ */ + /* Misc Unicode */ + 0x22f2, 0x22fa, /* ⋲ ⋺ */ + 0x22f3, 0x22fb, /* ⋳ ⋻ */ + 0x2308, 0x2309, /* ⌈ ⌉ */ + 0x230a, 0x230b, /* ⌊ ⌋ */ + 0x230c, 0x230d, /* ⌌ ⌍ */ + 0x230e, 0x230f, /* ⌎ ⌏ */ + 0x231c, 0x231d, /* ⌜ ⌝ */ + 0x231e, 0x231f, /* ⌞ ⌟ */ + 0x2326, 0x232b, /* ⌦ ⌫ */ + 0x2329, 0x232a, /* 〈 〉 */ + 0x2341, 0x2342, /* ⍁ ⍂ */ + 0x2343, 0x2344, /* ⍃ ⍄ */ + 0x2345, 0x2346, /* ⍅ ⍆ */ + 0x2347, 0x2348. /* ⍇ ⍈ */ + 0x233f, 0x2340, /* ⌿ ⍀ */ + 0x239b, 0x239e, /* ⎛ ⎞ */ + 0x239c, 0x239f, /* ⎜ ⎟ */ + 0x239d, 0x23a0, /* ⎝ ⎠ */ + 0x23a1, 0x23a4, /* ⎡ ⎤ */ + 0x23a2, 0x23a5, /* ⎢ ⎥ */ + 0x23a3, 0x23a6, /* ⎣ ⎦ */ + 0x23a7, 0x23ab, /* ⎧ ⎫ */ + 0x23a8, 0x23ac, /* ⎨ ⎬ */ + 0x23a9, 0x23ad, /* ⎩ ⎭ */ + 0x23b0, 0x23b1, /* ⎰ ⎱ */ + 0x23be, 0x23cb, /* ⎾ ⏋ */ + 0x23bf, 0x23cc, /* ⎿ ⏌ */ 0 };