[subset] Per code review, use hb_array to avoid duplicated type name
This commit is contained in:
parent
e662532833
commit
1197bef26c
|
@ -94,9 +94,9 @@ struct glyf
|
||||||
if (unlikely (!loca_prime_data)) return false;
|
if (unlikely (!loca_prime_data)) return false;
|
||||||
|
|
||||||
if (use_short_loca)
|
if (use_short_loca)
|
||||||
_write_loca (padded_offsets, 1, hb_array_t<HBUINT16> ((HBUINT16*) loca_prime_data, num_offsets));
|
_write_loca (padded_offsets, 1, hb_array ((HBUINT16*) loca_prime_data, num_offsets));
|
||||||
else
|
else
|
||||||
_write_loca (padded_offsets, 0, hb_array_t<HBUINT32> ((HBUINT32*) loca_prime_data, num_offsets));
|
_write_loca (padded_offsets, 0, hb_array ((HBUINT32*) loca_prime_data, num_offsets));
|
||||||
|
|
||||||
hb_blob_t * loca_blob = hb_blob_create (loca_prime_data,
|
hb_blob_t * loca_blob = hb_blob_create (loca_prime_data,
|
||||||
entry_size * num_offsets,
|
entry_size * num_offsets,
|
||||||
|
|
Loading…
Reference in New Issue