mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 18:44:09 +01:00
Revert "[glyf] Optimize shape loading"
This reverts commit f0819301b7.
Broke tests. To be debugged and redone.
This commit is contained in:
1 parent
f0819301b7
commit
164bd288cf
1 file changed
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user