mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-06 00:08:01 +02:00
* src/cid/cidload.c (cid_face_open): Properly propagate `error'.
This commit is contained in:
parent
d61b042568
commit
6b35493115
2 changed files with 9 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue