freetype2/include/freetype/internal
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
..
services [truetype] Store and use design coordinates also. 2017-03-12 20:46:56 +01:00
autohint.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftcalc.h Avoid Microsoft compiler warnings (#51331). 2017-06-28 22:57:41 +02:00
ftdebug.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftdriver.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftgloadr.h Update copyright year. 2017-01-04 20:16:34 +01:00
fthash.h Don't use macro names that contain `__' [1/2]. 2016-01-12 21:37:13 +01:00
ftmemory.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftobjs.h Tweak per-face LCD filtering controls. 2017-09-24 22:18:34 -04:00
ftpic.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftrfork.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftserv.h Add framework to support services with 9 functions. 2017-01-31 19:11:56 +01:00
ftstream.h Minor. 2017-03-06 20:29:26 +01:00
fttrace.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftvalid.h Update copyright year. 2017-01-04 20:16:34 +01:00
internal.h Update copyright year. 2017-01-04 20:16:34 +01:00
psaux.h */*: s/backwards compatibility/backward compatibility/. 2017-05-03 23:54:29 +02:00
pshints.h Update copyright year. 2017-01-04 20:16:34 +01:00
sfnt.h [sfnt] Add `get_name_id' service. 2017-03-05 19:06:41 +01:00
t1types.h Update copyright year. 2017-01-04 20:16:34 +01:00
tttypes.h */*: s/backwards compatibility/backward compatibility/. 2017-05-03 23:54:29 +02:00