From 96a9ef0c9fca8d58d8dc6baf6b262d96587abee0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 1 Jun 2012 13:46:26 -0400 Subject: [PATCH] Remove tab character like other "zero-width" characters Uniscribe does that, this make comparing results to Uniscribe easier. --- src/hb-unicode-private.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-unicode-private.hh b/src/hb-unicode-private.hh index 519fa0ba8..ddba1ace2 100644 --- a/src/hb-unicode-private.hh +++ b/src/hb-unicode-private.hh @@ -149,7 +149,8 @@ _hb_unicode_is_zero_width (hb_codepoint_t ch) (ch >= 0x202A && ch <= 0x202E) || (ch >= 0x2060 && ch <= 0x2063) || (ch == 0x2028) - )) || unlikely (ch == 0x00AD + )) || unlikely (ch == 0x0009 + || ch == 0x00AD || ch == 0x034F || ch == 0xFEFF); }