Revert "[glyf] Optimize shape loading"
This reverts commit f0819301b7
.
Broke tests. To be debugged and redone.
This commit is contained in:
parent
f0819301b7
commit
164bd288cf
|
@ -95,8 +95,7 @@ struct Glyph
|
|||
break;
|
||||
}
|
||||
case SIMPLE:
|
||||
/* Load into all_points if it's empty, as an optimization. */
|
||||
if (unlikely (!SimpleGlyph (*header, bytes).get_contour_points (all_points.length == 0 ? all_points : points, phantom_only)))
|
||||
if (unlikely (!SimpleGlyph (*header, bytes).get_contour_points (points, phantom_only)))
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue