forked from minhngoc25a/freetype2
* src/cid/cidload.c (cid_face_open): Properly propagate `error'.
This commit is contained in:
parent
d61b042568
commit
6b35493115
|
@ -1,3 +1,7 @@
|
|||
2016-10-08 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/cid/cidload.c (cid_face_open): Properly propagate `error'.
|
||||
|
||||
2016-10-08 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[cid] Fix parsing of subr offsets.
|
||||
|
|
|
@ -733,9 +733,11 @@
|
|||
}
|
||||
|
||||
/* we must convert the data section from hexadecimal to binary */
|
||||
if ( FT_ALLOC( face->binary_data, parser->binary_length ) ||
|
||||
cid_hex_to_binary( face->binary_data, parser->binary_length,
|
||||
parser->data_offset, face ) )
|
||||
if ( FT_ALLOC( face->binary_data, parser->binary_length ) ||
|
||||
( error = cid_hex_to_binary( face->binary_data,
|
||||
parser->binary_length,
|
||||
parser->data_offset,
|
||||
face ) ) )
|
||||
goto Exit;
|
||||
|
||||
FT_Stream_OpenMemory( face->cid_stream,
|
||||
|
|
Loading…
Reference in New Issue