[ot-face] Remove a few ensures
This commit is contained in:
parent
0fe7a745c9
commit
ea6d9b661f
|
@ -551,7 +551,6 @@ void
|
||||||
hb_face_collect_unicodes (hb_face_t *face,
|
hb_face_collect_unicodes (hb_face_t *face,
|
||||||
hb_set_t *out)
|
hb_set_t *out)
|
||||||
{
|
{
|
||||||
if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return;
|
|
||||||
face->table.cmap->collect_unicodes (out);
|
face->table.cmap->collect_unicodes (out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -568,7 +567,6 @@ void
|
||||||
hb_face_collect_variation_selectors (hb_face_t *face,
|
hb_face_collect_variation_selectors (hb_face_t *face,
|
||||||
hb_set_t *out)
|
hb_set_t *out)
|
||||||
{
|
{
|
||||||
if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return;
|
|
||||||
face->table.cmap->collect_variation_selectors (out);
|
face->table.cmap->collect_variation_selectors (out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -586,7 +584,6 @@ hb_face_collect_variation_unicodes (hb_face_t *face,
|
||||||
hb_codepoint_t variation_selector,
|
hb_codepoint_t variation_selector,
|
||||||
hb_set_t *out)
|
hb_set_t *out)
|
||||||
{
|
{
|
||||||
if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return;
|
|
||||||
face->table.cmap->collect_variation_unicodes (variation_selector, out);
|
face->table.cmap->collect_variation_unicodes (variation_selector, out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue