[subset] Report failure more often
This commit is contained in:
parent
51a0129f73
commit
58ce477ac1
|
@ -104,11 +104,11 @@ struct glyf
|
||||||
loca_prime_data,
|
loca_prime_data,
|
||||||
free);
|
free);
|
||||||
|
|
||||||
plan->add_table (HB_OT_TAG_loca, loca_blob);
|
bool result = plan->add_table (HB_OT_TAG_loca, loca_blob)
|
||||||
_add_head_and_set_loca_version(plan, use_short_loca);
|
&& _add_head_and_set_loca_version(plan, use_short_loca);
|
||||||
|
|
||||||
hb_blob_destroy (loca_blob);
|
hb_blob_destroy (loca_blob);
|
||||||
return true;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename EntryType, typename IteratorIn, typename IteratorOut,
|
template<typename EntryType, typename IteratorIn, typename IteratorOut,
|
||||||
|
|
Loading…
Reference in New Issue