* src/sfnt.c (sfnt_poly_edges_exact): Don't overwrite the
remainder of an ascending edge with its covered height.
(main): Adjust tests.
/* Fill the remainder of the scanline with
height-derived coverage. */
- if (x_pixel_max < width)
- APPEND_STEP (x_pixel_max, ((y_top - y_bot)
- * a->winding - last));
+ if (x_pixel_max + 1 < width)
+ APPEND_STEP (x_pixel_max + 1, ((y_top - y_bot)
+ * a->winding - last));
}
else /* if (x_bot > x_top) */
{
return 1;
}
-#define FANCY_PPEM 30
-#define EASY_PPEM 30
+#define FANCY_PPEM 12
+#define EASY_PPEM 12
interpreter = NULL;
head = sfnt_read_head_table (fd, font);