[glyf] Remove an unnecessary condition

This commit is contained in:
Behdad Esfahbod 2022-06-27 12:22:06 -06:00
parent 95bfa0913d
commit 32dc0641e1
1 changed files with 1 additions and 2 deletions

View File

@ -145,8 +145,7 @@ struct Glyph
contour_point_vector_t comp_points; contour_point_vector_t comp_points;
if (unlikely (!glyf_accelerator.glyph_for_gid (item.glyphIndex) if (unlikely (!glyf_accelerator.glyph_for_gid (item.glyphIndex)
.get_points (font, glyf_accelerator, comp_points, .get_points (font, glyf_accelerator, comp_points,
phantom_only, depth + 1) phantom_only, depth + 1)))
|| comp_points.length < PHANTOM_COUNT))
return false; return false;
/* Copy phantom points from component if USE_MY_METRICS flag set */ /* Copy phantom points from component if USE_MY_METRICS flag set */