View | Details | Raw Unified | Return to bug 97202
Collapse All | Expand All

(-)lib/font/FreeType/ftfuncs.c (+6 lines)
Lines 929-934 Link Here
929
    sfnt   = (SFNT_Service)face->sfnt;
929
    sfnt   = (SFNT_Service)face->sfnt;
930
930
931
    if ( strike_index != 0xFFFFU && sfnt->load_sbits ) {
931
    if ( strike_index != 0xFFFFU && sfnt->load_sbits ) {
932
	if (!sfnt->find_sbit_image || !sfnt->load_sbit_metrics) {
933
	    if ( sbitchk_incomplete_but_exist )
934
		*sbitchk_incomplete_but_exist=1;
935
	    error = -1;
936
	    goto Exit;
937
	} else
932
        /* Check whether there is a glyph sbit for the current index */
938
        /* Check whether there is a glyph sbit for the current index */
933
        error = sfnt->find_sbit_image( face, glyph_index, strike_index,
939
        error = sfnt->find_sbit_image( face, glyph_index, strike_index,
934
                                       &range, &strike, &glyph_offset );
940
                                       &range, &strike, &glyph_offset );

Return to bug 97202