[subset] Fix simple glyph trim_padding in glyf table
Detail: when numOfContours = 1 and flag = 0x31 xCoordinates and yCoordinates would be empty
This commit is contained in:
parent
b6a8f5e63c
commit
0216a96b0f
|
@ -471,7 +471,6 @@ struct glyf
|
|||
unsigned int num_instructions = StructAtOffset<HBUINT16> (glyph, 0);
|
||||
|
||||
glyph += 2 + num_instructions;
|
||||
if (unlikely (glyph + 2 >= glyph_end)) return Glyph ();
|
||||
|
||||
unsigned int coord_bytes = 0;
|
||||
unsigned int coords_with_flags = 0;
|
||||
|
|
Loading…
Reference in New Issue