freetype2/include/freetype
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
..
config Add Adobe engine configuration. 2017-09-25 09:26:59 +02:00
internal Bitmap metrics presetting [1/2]. 2017-09-28 00:20:50 -04:00
freetype.h Add some `since' fields (back to version 2.4.8). 2017-09-21 14:56:58 +02:00
ftadvanc.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftautoh.h Add some `since' fields (back to version 2.4.8). 2017-09-21 14:56:58 +02:00
ftbbox.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftbdf.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftbitmap.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftbzip2.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftcache.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftcffdrv.h Add some `since' fields (back to version 2.4.8). 2017-09-21 14:56:58 +02:00
ftchapters.h [pcf] Make long family names configurable. 2017-01-09 11:30:32 +01:00
ftcid.h Update copyright year. 2017-01-04 20:16:34 +01:00
fterrdef.h [sfnt, truetype] Improve handling of missing sbits. 2017-08-11 09:34:20 +02:00
fterrors.h s/ /~/ 2017-09-06 21:21:14 -04:00
ftfntfmt.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftgasp.h * include/freetype/ftgasp.h (FT_GASP_SYMMETRIC_GRIDFIT): Fix value. 2017-02-03 08:31:18 +01:00
ftglyph.h Minor comment. 2017-06-01 17:03:07 +02:00
ftgxval.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftgzip.h Add some `since' fields (back to version 2.4.8). 2017-09-21 14:56:58 +02:00
ftimage.h Add some `since' fields (back to version 2.4.8). 2017-09-21 14:56:58 +02:00
ftincrem.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftlcdfil.h Bitmap metrics presetting [1/2]. 2017-09-28 00:20:50 -04:00
ftlist.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftlzw.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftmac.h Minor comment fix. 2017-08-16 05:46:10 +02:00
ftmm.h Add some `since' fields (back to version 2.4.8). 2017-09-21 14:56:58 +02:00
ftmodapi.h Add some `since' fields (back to version 2.4.8). 2017-09-21 14:56:58 +02:00
ftmoderr.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftotval.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftoutln.h Minor. 2017-09-15 21:49:34 -04:00
ftpcfdrv.h Copyright notices, formatting, whitespace, minor doc fixes. 2017-09-26 12:53:41 +02:00
ftpfr.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftrender.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftsizes.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftsnames.h Add some `since' fields (back to version 2.4.8). 2017-09-21 14:56:58 +02:00
ftstroke.h */*: s/backwards compatibility/backward compatibility/. 2017-05-03 23:54:29 +02:00
ftsynth.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftsystem.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftt1drv.h Copyright notices, formatting, whitespace, minor doc fixes. 2017-09-26 12:53:41 +02:00
fttrigon.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftttdrv.h Copyright notices, formatting, whitespace, minor doc fixes. 2017-09-26 12:53:41 +02:00
fttypes.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftwinfnt.h Update copyright year. 2017-01-04 20:16:34 +01:00
t1tables.h Add some `since' fields (back to version 2.4.8). 2017-09-21 14:56:58 +02:00
ttnameid.h */*: s/backwards compatibility/backward compatibility/. 2017-05-03 23:54:29 +02:00
tttables.h ftsnames.h, ttnameid.h, tttables.h: Revise documentation. 2017-01-17 12:39:53 +01:00
tttags.h [sfnt, truetype] Register the tags for marginal fonts. 2017-09-09 01:03:26 +09:00
ttunpat.h */*: s/backwards compatibility/backward compatibility/. 2017-05-03 23:54:29 +02:00