freetype/src/smooth
Alexei Podtelezhnikov 7cc8f37b9a [base, smooth] Implement direct LCD filtering.
Applying an LCD filter to spans rather than the entire image improves
the performance of ClearType-like rendering by about 40% at 32 ppem
and much more at larger sizes.  Small rounding differences are expected.

* src/smooth/ftsmooth.c (ft_smooth_raster_lcd, ft_smooth_lcd_spans,
ft_smooth_raster_lcdv, ft_smooth_lcdv_spans, TOrigin): Implement it.
* include/freetype/internal/ftobjs.h (FT_LibraryRec): lcd_filter_func gone.
* src/base/ftlcdfil.c (ft_lcd_filter_fir): Removed.
(ft_lcd_padding): Use padding sufficient for any 5-tap filter.
(FT_Library_SetLcdFilterWeights, FT_Library_SetLcdFilter): Updated.
* docs/CHANGES: Updated.
2026-01-26 12:43:28 -05:00
..
ftgrays.c [base, smooth] Fortify direct rendering. 2026-01-17 22:55:16 -05:00
ftgrays.h Update all copyright notices. 2025-09-06 06:14:03 +02:00
ftsmerrs.h Update all copyright notices. 2025-09-06 06:14:03 +02:00
ftsmooth.c [base, smooth] Implement direct LCD filtering. 2026-01-26 12:43:28 -05:00
ftsmooth.h Update all copyright notices. 2025-09-06 06:14:03 +02:00
module.mk Update all copyright notices. 2025-09-06 06:14:03 +02:00
rules.mk Update all copyright notices. 2025-09-06 06:14:03 +02:00
smooth.c Update all copyright notices. 2025-09-06 06:14:03 +02:00