mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2025-12-25 03:00:04 +01:00
* src/pcf/pcfdrivr.c (PCF_Face_Init): Handle charmap errors.
This is a quick fix for #1377, more clean-ups to follow.
This commit is contained in:
parent
f75ae3d06d
commit
30e45abe93
1 changed files with 2 additions and 0 deletions
|
|
@ -378,6 +378,8 @@ THE SOFTWARE.
|
|||
}
|
||||
|
||||
error = FT_CMap_New( &pcf_cmap_class, NULL, &charmap, NULL );
|
||||
if ( error )
|
||||
PCF_Face_Done( face );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue