forked from minhngoc25a/freetype2
2e9519885b
* include/freetype/ftlcdfil.h (FT_PARAM_TAG_LCD_FILTER_WEIGHTS, FT_LCD_FILTER_FIVE_TAPS): New macros. (FT_LcdFiveTapFilter): New typedef. * include/freetype/ftobjs.h (FT_Face_InternalRec) [FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Add `lcd_weights' field. (FT_Bitmap_LcdFilterFunc): Change third argument to weights array. (ft_lcd_filter_fir): New prototype. (FT_LibraryRec): Updated. * src/base/ftlcdfil.c (_ft_lcd_filter_fir): Renamed to... (ft_lcd_filter_dir): ... this base function. Updated. (_ft_lcd_filter_legacy): Updated. (FT_Library_SetLcdFilterWeights, FT_Library_SetLcdFilter): Updated. * src/base/ftobjs.c (ft_open_face_internal): Updated. (FT_Face_Properties): Handle FT_PARAM_TAG_LCD_FILTER_WEIGHTS. * src/smooth/ftsmooth.c (ft_smooth_render_generic) [FT_CONFIG_OPTION_SUBPIXEL_RENDERING: Handle LCD weights from `FT_Face_Internal'. |
||
---|---|---|
.. | ||
Jamfile | ||
basepic.c | ||
basepic.h | ||
ftadvanc.c | ||
ftapi.c | ||
ftbase.c | ||
ftbase.h | ||
ftbbox.c | ||
ftbdf.c | ||
ftbitmap.c | ||
ftcalc.c | ||
ftcid.c | ||
ftdbgmem.c | ||
ftdebug.c | ||
ftfntfmt.c | ||
ftfstype.c | ||
ftgasp.c | ||
ftgloadr.c | ||
ftglyph.c | ||
ftgxval.c | ||
fthash.c | ||
ftinit.c | ||
ftlcdfil.c | ||
ftmac.c | ||
ftmm.c | ||
ftobjs.c | ||
ftotval.c | ||
ftoutln.c | ||
ftpatent.c | ||
ftpfr.c | ||
ftpic.c | ||
ftrfork.c | ||
ftsnames.c | ||
ftstream.c | ||
ftstroke.c | ||
ftsynth.c | ||
ftsystem.c | ||
fttrigon.c | ||
fttype1.c | ||
ftutil.c | ||
ftwinfnt.c | ||
md5.c | ||
md5.h | ||
rules.mk |