mirror of
git://git.sv.nongnu.org/freetype/freetype2.git
synced 2026-01-19 04:52:09 +00: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:
@@ -378,6 +378,8 @@ THE SOFTWARE.
|
||||
}
|
||||
|
||||
error = FT_CMap_New( &pcf_cmap_class, NULL, &charmap, NULL );
|
||||
if ( error )
|
||||
PCF_Face_Done( face );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user