freetype2/src/smooth
Alexei Podtelezhnikov 02e80da609 Tweak per-face LCD filtering controls.
Thing are simpler with a NULL-function pointer.

* include/freetype/internal/ftobjs.h (FT_Face_InternalRec): New
pointer to the filter function.
(FT_LibraryRec): Remove unused `lcd_filter'.
(FT_Bitmap_LcdFilterFunc, ft_lcd_filter_fir):  Move from here...
* include/freetype/ftlcdfil.h (FT_Bitmap_LcdFilterFunc,
ft_lcd_filter_fir): ... to here.

* src/base/ftobjs.c (ft_open_face_internal): NULL-initialize the
per-face filter.
(FT_Face_Properties): Set it.
* src/smooth/ftsmooth.c (ft_smooth_render_generic): Simplify.

* src/base/ftlcdfil.c (ft_lcd_filter_fir, FT_Libary_SetLcdFilter):
Minor.
2017-09-24 22:18:34 -04:00
..
Jamfile Update copyright year. 2017-01-04 20:16:34 +01:00
ftgrays.c */*: Remove `OVERFLOW_' prefix. 2017-06-09 11:21:58 +02:00
ftgrays.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftsmerrs.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftsmooth.c Tweak per-face LCD filtering controls. 2017-09-24 22:18:34 -04:00
ftsmooth.h * src/smooth/ftsmooth.h: Remove unused guards and declaration. 2017-04-21 22:53:39 -04:00
ftspic.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftspic.h Update copyright year. 2017-01-04 20:16:34 +01:00
module.mk Update copyright year. 2017-01-04 20:16:34 +01:00
rules.mk Update copyright year. 2017-01-04 20:16:34 +01:00
smooth.c Improve `make multi'. 2017-03-18 07:06:49 +01:00