[sfnt] Fix format expectation for COLR
v1 ClipList
* src/sfnt/ttcolr.c (tt_face_get_color_glyph_clipbox): Change ClipList format expectation to 1 instead of 0 to make it compliant with the latest spec.
This commit is contained in:
parent
02ba0fc81e
commit
633fe08764
@ -843,7 +843,7 @@
|
||||
|
||||
/* Format byte used here to be able to upgrade ClipList for >16bit */
|
||||
/* glyph ids; for now we can expect it to be 0. */
|
||||
if ( !( clip_list_format == 0 ) )
|
||||
if ( !( clip_list_format == 1 ) )
|
||||
return 0;
|
||||
|
||||
num_clip_boxes = FT_NEXT_ULONG( p );
|
||||
|
Loading…
Reference in New Issue
Block a user