diff --git a/src/sfnt/ttcolr.c b/src/sfnt/ttcolr.c index e46ca48da..3970a5dc5 100644 --- a/src/sfnt/ttcolr.c +++ b/src/sfnt/ttcolr.c @@ -551,6 +551,11 @@ apaint->u.transform.paint.p = child_table_p; apaint->u.transform.paint.insert_root_transform = 0; + if ( !get_child_table_pointer( colr, paint_base, &p, &child_table_p ) ) + return 0; + + p = child_table_p; + apaint->u.transform.affine.xx = FT_NEXT_LONG( p ); apaint->u.transform.affine.yx = FT_NEXT_LONG( p ); apaint->u.transform.affine.xy = FT_NEXT_LONG( p );