diff options
Diffstat (limited to 'src/sfnt/sfobjs.c')
-rw-r--r-- | src/sfnt/sfobjs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c index b5a6523cf..67b917822 100644 --- a/src/sfnt/sfobjs.c +++ b/src/sfnt/sfobjs.c @@ -342,7 +342,8 @@ /* synthesized into a TTC with one offset table. */ static FT_Error sfnt_open_font( FT_Stream stream, - TT_Face face ) + TT_Face face, + FT_Int face_instance_index ) { FT_Memory memory = stream->memory; FT_Error error; @@ -393,7 +394,7 @@ if ( FT_STREAM_SEEK( offset ) ) return error; - error = woff2_open_font( stream, face ); + error = woff2_open_font( stream, face, face_instance_index ); if ( error ) return error; @@ -531,7 +532,7 @@ FT_TRACE2(( "SFNT driver\n" )); - error = sfnt_open_font( stream, face ); + error = sfnt_open_font( stream, face, face_instance_index ); if ( error ) return error; |