diff options
Diffstat (limited to 'fullwidth-emoji.patch')
-rw-r--r-- | fullwidth-emoji.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fullwidth-emoji.patch b/fullwidth-emoji.patch index 89ba62d84c32..ba6ce297fad5 100644 --- a/fullwidth-emoji.patch +++ b/fullwidth-emoji.patch @@ -6,7 +6,7 @@ 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 ++ 0x1f300 <= c && c < 0x20000 || // Miscellaneous Symbols and Pictographs ... Supplemental Symbols and Pictographs + 0)) + return 2; if (G_LIKELY (utf8_ambiguous_width == 1)) |