s/HB_OT_SHAPE_COMPLEX_MAX_COMBINING_MARKS/HB_OT_SHAPE_MAX_COMBINING_MARKS/g
This commit is contained in:
parent
44a7b3b773
commit
13fbed29e4
|
@ -689,7 +689,7 @@ reorder_marks_arabic (const hb_ot_shape_plan_t *plan HB_UNUSED,
|
|||
|
||||
/* Shift it! */
|
||||
DEBUG_MSG (ARABIC, buffer, "Shifting %d's: %d %d", cc, i, j);
|
||||
hb_glyph_info_t temp[HB_OT_SHAPE_COMPLEX_MAX_COMBINING_MARKS];
|
||||
hb_glyph_info_t temp[HB_OT_SHAPE_MAX_COMBINING_MARKS];
|
||||
assert (j - i <= ARRAY_LENGTH (temp));
|
||||
buffer->merge_clusters (start, j);
|
||||
memmove (temp, &info[i], (j - i) * sizeof (hb_glyph_info_t));
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#define complex_var_u8_auxiliary() var2.u8[3]
|
||||
|
||||
|
||||
#define HB_OT_SHAPE_COMPLEX_MAX_COMBINING_MARKS 32
|
||||
#define HB_OT_SHAPE_MAX_COMBINING_MARKS 32
|
||||
|
||||
enum hb_ot_shape_zero_width_marks_type_t {
|
||||
HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE,
|
||||
|
|
|
@ -395,7 +395,7 @@ _hb_ot_shape_normalize (const hb_ot_shape_plan_t *plan,
|
|||
break;
|
||||
|
||||
/* We are going to do a O(n^2). Only do this if the sequence is short. */
|
||||
if (end - i > HB_OT_SHAPE_COMPLEX_MAX_COMBINING_MARKS) {
|
||||
if (end - i > HB_OT_SHAPE_MAX_COMBINING_MARKS) {
|
||||
i = end;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue