[uniscribe/coretext] Fix for previous change

This commit is contained in:
Behdad Esfahbod 2018-10-06 02:40:57 +02:00
parent 341206eb60
commit 0816a54978
2 changed files with 7 additions and 7 deletions

View File

@ -768,7 +768,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.arrayZ);
active_features.remove (feature - active_features.arrayZ());
}
}
}

View File

@ -717,7 +717,7 @@ _hb_uniscribe_shape (hb_shape_plan_t *shape_plan,
{
active_feature_t *feature = active_features.find (&event->feature);
if (feature)
active_features.remove (feature - active_features.arrayZ);
active_features.remove (feature - active_features.arrayZ());
}
}
@ -728,7 +728,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.arrayZ + reinterpret_cast<uintptr_t> (range->props.potfRecords);
range->props.potfRecords = feature_records.arrayZ() + reinterpret_cast<uintptr_t> (range->props.potfRecords);
}
}
@ -902,8 +902,8 @@ retry:
&items[i].a,
script_tags[i],
language_tag,
range_char_counts.arrayZ,
range_properties.arrayZ,
range_char_counts.arrayZ(),
range_properties.arrayZ(),
range_properties.len,
pchars + chars_offset,
item_chars_len,
@ -943,8 +943,8 @@ retry:
&items[i].a,
script_tags[i],
language_tag,
range_char_counts.arrayZ,
range_properties.arrayZ,
range_char_counts.arrayZ(),
range_properties.arrayZ(),
range_properties.len,
pchars + chars_offset,
log_clusters + chars_offset,