未验证 提交 93bdf9b2 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

Use arrayZ on hb-coretext and hb-uniscribe and fix macOS/Win bots (#1024)

Following to 63f57f4d
上级 63f57f4d
......@@ -777,7 +777,7 @@ _hb_coretext_shape (hb_shape_plan_t *shape_plan,
} else {
active_feature_t *feature = active_features.find (&event->feature);
if (feature)
active_features.remove (feature - active_features.array);
active_features.remove (feature - active_features.arrayZ);
}
}
}
......
......@@ -726,7 +726,7 @@ _hb_uniscribe_shape (hb_shape_plan_t *shape_plan,
} else {
active_feature_t *feature = active_features.find (&event->feature);
if (feature)
active_features.remove (feature - active_features.array);
active_features.remove (feature - active_features.arrayZ);
}
}
......@@ -737,7 +737,7 @@ _hb_uniscribe_shape (hb_shape_plan_t *shape_plan,
for (unsigned int i = 0; i < range_records.len; i++)
{
range_record_t *range = &range_records[i];
range->props.potfRecords = feature_records.array + reinterpret_cast<uintptr_t> (range->props.potfRecords);
range->props.potfRecords = feature_records.arrayZ + reinterpret_cast<uintptr_t> (range->props.potfRecords);
}
}
else
......@@ -916,8 +916,8 @@ retry:
&items[i].a,
script_tags[i],
language_tag,
range_char_counts.array,
range_properties.array,
range_char_counts.arrayZ,
range_properties.arrayZ,
range_properties.len,
pchars + chars_offset,
item_chars_len,
......@@ -957,8 +957,8 @@ retry:
&items[i].a,
script_tags[i],
language_tag,
range_char_counts.array,
range_properties.array,
range_char_counts.arrayZ,
range_properties.arrayZ,
range_properties.len,
pchars + chars_offset,
log_clusters + chars_offset,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册