Index: src/autofit/aflatin.c |
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c |
index a1f2b337bc24a7db2aba2089fb4ec0099b70ea19..54c12f9fe1119737b967f41970b42c0afdcf1ae4 100644 |
--- a/src/autofit/aflatin.c |
+++ b/src/autofit/aflatin.c |
@@ -362,9 +362,10 @@ |
error = FT_Load_Glyph( face, glyph_index, FT_LOAD_NO_SCALE ); |
outline = face->glyph->outline; |
- if ( error || outline.n_points <= 0 ) |
+ /* reject glyphs that don't produce any rendering */ |
+ if ( error || outline.n_points <= 2 ) |
{ |
- FT_TRACE5(( " U+%04lX contains no outlines\n", ch )); |
+ FT_TRACE5(( " U+%04lX contains no (usable) outlines\n", ch )); |
continue; |
} |