* src/sfnt.c (sfnt_decompose_glyph_1, sfnt_decompose_glyph_2):
Accept empty contours, for they are not invalid, just redundant.
/* The contour is empty. */
if (here == last)
- return 1;
+ /* An empty contour, if redundant, is not necessarily invalid. */
+ return 0;
/* Move the pen to the start of the contour. Apparently some fonts
have off the curve points as the start of a contour, so when that
/* The contour is empty. */
if (here == last)
- return 1;
+ /* An empty contour, if redundant, is not necessarily invalid. */
+ return 0;
/* Move the pen to the start of the contour. Apparently some fonts
have off the curve points as the start of a contour, so when that