freetype/src/raster
Alexei Podtelezhnikov 61d1818b5e Bitmap metrics presetting [1/2].
This mainly just extracts the code for presetting the bitmap metrics
from the monochrome, grayscale, and LCD renderers into a separate
function.

* src/base/ftobjs.c (ft_glyphslot_preset_bitmap): New function that
calculates prespective bitmap metrics for the given rendering mode.
* include/freetype/internal/ftobjs.h (ft_glyphslot_preset_bitmap):
Declare it.

* src/base/ftlcdfil.c (ft_lcd_padding): New helper function that adds
padding to CBox taking into account pecularities of LCD rendering.
* include/freetype/ftlcdfil.h (ft_lcd_padding): Declare it.

* src/raster/ftrend1.c (ft_raster1_render): Reworked to use
`ft_glyphslot_preset_bitmap'.
* src/smooth/ftsmooth.c (ft_smooth_render_generic): Ditto.
(ft_smooth_render_lcd, ft_smooth_render_lcd): The pixel_mode setting
is moved to `ft_glyphslot_preset_bitmap'.
2017-09-28 00:20:50 -04:00
..
ftmisc.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftraster.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftraster.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftrend1.c Bitmap metrics presetting [1/2]. 2017-09-28 00:20:50 -04:00
ftrend1.h Update copyright year. 2017-01-04 20:16:34 +01:00
Jamfile Update copyright year. 2017-01-04 20:16:34 +01:00
module.mk Update copyright year. 2017-01-04 20:16:34 +01:00
raster.c Improve `make multi'. 2017-03-18 07:06:49 +01:00
rasterrs.h Update copyright year. 2017-01-04 20:16:34 +01:00
rastpic.c Update copyright year. 2017-01-04 20:16:34 +01:00
rastpic.h Update copyright year. 2017-01-04 20:16:34 +01:00
rules.mk Update copyright year. 2017-01-04 20:16:34 +01:00