[glyf] minor
This commit is contained in:
parent
db96c7f67a
commit
f06d7331e8
|
@ -618,10 +618,10 @@ struct glyf
|
|||
}
|
||||
|
||||
/* Read x & y coordinates */
|
||||
return (read_points (p, points_, bytes,
|
||||
[] (contour_point_t &p, float v) { p.x = v; }, FLAG_X_SHORT, FLAG_X_SAME) &&
|
||||
read_points (p, points_, bytes,
|
||||
[] (contour_point_t &p, float v) { p.y = v; }, FLAG_Y_SHORT, FLAG_Y_SAME));
|
||||
return read_points (p, points_, bytes, [] (contour_point_t &p, float v) { p.x = v; },
|
||||
FLAG_X_SHORT, FLAG_X_SAME)
|
||||
&& read_points (p, points_, bytes, [] (contour_point_t &p, float v) { p.y = v; },
|
||||
FLAG_Y_SHORT, FLAG_Y_SAME);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue