summarylogtreecommitdiffstats
path: root/fullwidth-emoji.patch
diff options
context:
space:
mode:
authorRay Song2016-03-21 20:14:53 +0800
committerRay Song2016-03-21 20:14:53 +0800
commit2cec4b17420736ae76a10836889edc4802feb6e8 (patch)
tree0995043d41ac033a24c4f09741afb452488e105f /fullwidth-emoji.patch
downloadaur-2cec4b17420736ae76a10836889edc4802feb6e8.tar.gz
initial
Diffstat (limited to 'fullwidth-emoji.patch')
-rw-r--r--fullwidth-emoji.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/fullwidth-emoji.patch b/fullwidth-emoji.patch
new file mode 100644
index 000000000000..ebbbd6ac0fce
--- /dev/null
+++ b/fullwidth-emoji.patch
@@ -0,0 +1,14 @@
+--- a/vte-ng-0.42.4.a/src/vte.cc 2016-03-21 19:49:00.390775386 +0800
++++ b/vte-ng-0.42.4.a/src/vte.cc 2016-03-21 19:50:22.627904117 +0800
+@@ -206,6 +206,11 @@
+ return 0;
+ if (G_UNLIKELY (g_unichar_iswide (c)))
+ return 2;
++ if (G_UNLIKELY(0x25a0 <= c && c < 0x27c0 || // Geometric Shapes, Miscellaneous Symbols, Dingbats
++ 0x2b00 <= c && c < 0x2c00 || // Miscellaneous Symbols and Arrows
++ 0x1f300 <= c && c < 0x1f700 || // Miscellaneous Symbols and Pictographs ... Geometric Shapes Extended
++ 0))
++ return 2;
+ if (G_LIKELY (utf8_ambiguous_width == 1))
+ return 1;
+ if (G_UNLIKELY (g_unichar_iswide_cjk (c)))