diff options
Diffstat (limited to '')
-rw-r--r-- | libparsepcf_preparse_font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libparsepcf_preparse_font.c b/libparsepcf_preparse_font.c index 5874b50..058365a 100644 --- a/libparsepcf_preparse_font.c +++ b/libparsepcf_preparse_font.c @@ -87,7 +87,7 @@ libparsepcf_preparse_font(const char *file, size_t size, struct libparsepcf_font max = font->swidths; } - if (min != max || !font->mtx_table) + if (min != max || !font->mtx_table || !font->enc_table) goto ebfont; if (!font->inkmtx_table && font->accel_table && font->accels.ink_metrics) goto ebfont; |