View | Details | Raw Unified | Return to bug 244401
Collapse All | Expand All

(-)print/libraqm/files/patch-src_raqm.c (-1 / +18 lines)
Lines 1-4 Link Here
1
--- src/raqm.c.orig	2019-05-17 11:29:46 UTC
1
--- src/raqm.c.orig	2019-05-05 20:05:08 UTC
2
+++ src/raqm.c
2
+++ src/raqm.c
3
@@ -1599,14 +1599,14 @@ _raqm_shape (raqm_t *rq)
3
@@ -1599,14 +1599,14 @@ _raqm_shape (raqm_t *rq)
4
 /* Convert index from UTF-32 to UTF-8 */
4
 /* Convert index from UTF-32 to UTF-8 */
Lines 175-177 Link Here
175
 
175
 
176
   return true;
176
   return true;
177
 }
177
 }
178
@@ -1931,11 +1931,11 @@ _raqm_get_grapheme_break (hb_codepoint_t ch,
179
     case HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK:
180
     case HB_UNICODE_GENERAL_CATEGORY_ENCLOSING_MARK:
181
     case HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK:
182
-      if (ch != 0x102B || ch != 0x102C || ch != 0x1038 ||
183
-          (ch <= 0x1062 && ch >= 0x1064) || (ch <= 0x1067 && ch >= 0x106D) ||
184
-          ch != 0x1083 || (ch <= 0x1087 && ch >= 0x108C) || ch != 0x108F ||
185
-          (ch <= 0x109A && ch >= 0x109C) || ch != 0x1A61 || ch != 0x1A63 ||
186
-          ch != 0x1A64 || ch != 0xAA7B || ch != 0xAA70 || ch != 0x11720 ||
187
+      if (ch != 0x102B && ch != 0x102C && ch != 0x1038 &&
188
+          (ch < 0x1062 || ch > 0x1064) && (ch < 0x1067 || ch > 0x106D) &&
189
+          ch != 0x1083 && (ch < 0x1087 || ch > 0x108C) && ch != 0x108F &&
190
+          (ch < 0x109A || ch > 0x109C) && ch != 0x1A61 && ch != 0x1A63 &&
191
+          ch != 0x1A64 && ch != 0xAA7B && ch != 0xAA70 && ch != 0x11720 &&
192
           ch != 0x11721) /**/
193
         gb_type = RAQM_GRAPHEM_SPACING_MARK;
194
 

Return to bug 244401