Use arrayZ on hb-coretext and hb-uniscribe and fix macOS/Win bots (#1024)
Following to 63f57f4
diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc
index 837b3fb..3924c8e 100644
--- a/src/hb-coretext.cc
+++ b/src/hb-coretext.cc
@@ -777,7 +777,7 @@
} 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);
}
}
}
diff --git a/src/hb-uniscribe.cc b/src/hb-uniscribe.cc
index bc6667c..3cd419e 100644
--- a/src/hb-uniscribe.cc
+++ b/src/hb-uniscribe.cc
@@ -726,7 +726,7 @@
} 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 @@
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 @@
&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 @@
&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,