Imported Debian patch 0.63.0-6
[hcoop/debian/courier-authlib.git] / unicode / eastasianwidth.h
diff --git a/unicode/eastasianwidth.h b/unicode/eastasianwidth.h
new file mode 100644 (file)
index 0000000..16f587d
--- /dev/null
@@ -0,0 +1,35 @@
+static const unicode_char unicode_wcwidth_tab[][2]={
+{0x1100, 0x1159},
+{0x115f, 0x115f},
+{0x2329, 0x232a},
+{0x2e80, 0x2e99},
+{0x2e9b, 0x2ef3},
+{0x2f00, 0x2fd5},
+{0x2ff0, 0x2ffb},
+{0x3000, 0x303e},
+{0x3041, 0x3096},
+{0x3099, 0x30ff},
+{0x3105, 0x312d},
+{0x3131, 0x318e},
+{0x3190, 0x31b7},
+{0x31c0, 0x31e3},
+{0x31f0, 0x321e},
+{0x3220, 0x3243},
+{0x3250, 0x32fe},
+{0x3300, 0x4db5},
+{0x4e00, 0x9fc3},
+{0xa000, 0xa48c},
+{0xa490, 0xa4c6},
+{0xac00, 0xd7a3},
+{0xf900, 0xfa2d},
+{0xfa30, 0xfa6a},
+{0xfa70, 0xfad9},
+{0xfe10, 0xfe19},
+{0xfe30, 0xfe52},
+{0xfe54, 0xfe66},
+{0xfe68, 0xfe6b},
+{0xff01, 0xff60},
+{0xffe0, 0xffe6},
+{0x20000, 0x2fffd},
+{0x30000, 0x3fffd}
+};