freetype/include/freetype/internal
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
..
services Copyright notices, formatting, whitespace, minor doc fixes. 2017-09-26 12:53:41 +02:00
autohint.h Update copyright year. 2017-01-04 20:16:34 +01:00
cffotypes.h Copyright notices, formatting, whitespace, minor doc fixes. 2017-09-26 12:53:41 +02:00
cfftypes.h Move struct declarations to `freetype/internal'. 2017-09-25 09:26:59 +02: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 Bitmap metrics presetting [1/2]. 2017-09-28 00:20:50 -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 Copyright notices, formatting, whitespace, minor doc fixes. 2017-09-26 12:53:41 +02: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 Move struct declarations to `freetype/internal'. 2017-09-25 09:26:59 +02:00
psaux.h Copyright notices, formatting, whitespace, minor doc fixes. 2017-09-26 12:53:41 +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 Create new `PSAux' service interface entries. 2017-09-25 09:26:59 +02:00