[glyf] Remove misplaced comment

This commit is contained in:
Behdad Esfahbod 2022-11-22 14:39:10 -07:00
parent 44be8ef4ce
commit 0ca9fda889
1 changed files with 1 additions and 2 deletions

View File

@ -269,7 +269,6 @@ struct SimpleGlyph
dest_bytes = hb_bytes_t (); dest_bytes = hb_bytes_t ();
return true; return true;
} }
//convert absolute values to relative values
unsigned num_points = all_points.length - 4; unsigned num_points = all_points.length - 4;
hb_vector_t<uint8_t> flags, x_coords, y_coords; hb_vector_t<uint8_t> flags, x_coords, y_coords;
@ -279,7 +278,7 @@ struct SimpleGlyph
uint8_t lastflag = 0, repeat = 0; uint8_t lastflag = 0, repeat = 0;
int prev_x = 0.f, prev_y = 0.f; int prev_x = 0.f, prev_y = 0.f;
for (unsigned i = 0; i < num_points; i++) for (unsigned i = 0; i < num_points; i++)
{ {
uint8_t flag = all_points[i].flag; uint8_t flag = all_points[i].flag;