[glyf] Remove an unnecessary condition
This commit is contained in:
parent
95bfa0913d
commit
32dc0641e1
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue