e7ac9288ac
The buffer size FT_MAX_GRAY_SPANS is set to 10 spans, which should be enough to cover the entire scanline for simple glyphs in most cases: each slightly slanted edge needs up to two spans, plus a filling span in-between. This is not new, we used to do it before cb4388783cecc. * src/smooth/ftgrays.c (gray_TWorker): Add `spans' and `num_spans'. (gray_hline, gray_sweep): Implement the span buffering. (gray_raster_render): Use negative `num_spans' to avoid the direct mode. |
||
---|---|---|
.. | ||
ftgrays.c | ||
ftgrays.h | ||
ftsmerrs.h | ||
ftsmooth.c | ||
ftsmooth.h | ||
Jamfile | ||
module.mk | ||
rules.mk | ||
smooth.c |