Bugfix: prep table is optional.
This commit is contained in:
parent
f993b6a033
commit
f697866ec2
|
@ -202,9 +202,8 @@
|
|||
FT_Memory memory = stream->memory;
|
||||
TT_ULong table_len;
|
||||
|
||||
FT_TRACE2(( "Font program " ));
|
||||
|
||||
error = TT_Err_Ok;
|
||||
FT_TRACE2(( "Font program " ));
|
||||
|
||||
/* The font program is optional */
|
||||
error = face->goto_table( face, TTAG_fpgm, stream, &table_len );
|
||||
|
@ -235,6 +234,7 @@
|
|||
{
|
||||
face->cvt_program = NULL;
|
||||
face->cvt_program_size = 0;
|
||||
error = TT_Err_Ok;
|
||||
|
||||
FT_TRACE2(( "is missing!\n" ));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue