* 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:
Alexei Podtelezhnikov 2025-12-05 00:40:13 -05:00
parent f75ae3d06d
commit 30e45abe93

View file

@ -378,6 +378,8 @@ THE SOFTWARE.
}
error = FT_CMap_New( &pcf_cmap_class, NULL, &charmap, NULL );
if ( error )
PCF_Face_Done( face );
}
}