freetype2/include/freetype
Nikolaus Waxweiler 596157365a [truetype] New implementation of v38 bytecode interpreter [1/3].
This patch prepares data structures and the like.

See added comments in `ttinterp.h' for more information on this and
the following commits in the series.

* devel/ftoption.h, include/freetype/config/ftoption.h
(TT_CONFIG_OPTION_SUBPIXEL_HINTING): Assign values to differentiate
between subpixel versions.
(TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY,
TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL): New macros.

* include/freetype/ftttdrv.h (TT_INTERPRETER_VERSION_40): New macro.

* include/freetype/internal/tttypes.h (TT_FaceRec): Updated.

* src/truetype/ttinterp.h (TT_ExecContextRec): Define new fields
`subpixel_hinting_lean', `vertical_lcd_lean',
`backwards_compatibility', `iupx_called', iupy_called', and
`grayscale_cleartype' for new hinting mode.

* src/truetype/ttdriver.c (tt_property_set): Handle v38 and v40
interpreters conditionally.

* src/truetype/ttgload.c (TT_Hint_Glyph): Save phantom points unless
in v38 backwards compatibility mode.
Updated.
(compute_glyph_metrics): Add v38 backwards compatibility mode
constraint for adjusting advance widths.
Updated.
(tt_loader_init): Handle new flags `subpixel_hinting_lean',
`grayscale_cleartype', and `vertical_lcd_lean'.
Updated.
(tt_get_metrics, TT_Process_Simple_Glyph, TT_LOADER_SET_PP):
Updated.

* src/truetype/ttobjs.c (tt_driver_init): Conditionally set
default interpreter version number.

* src/truetype/ttsubpix.c, src/truetype/ttsubpix.h: Updated.
2016-05-18 06:57:59 +02:00
..
config [truetype] New implementation of v38 bytecode interpreter [1/3]. 2016-05-18 06:57:59 +02:00
internal [truetype] New implementation of v38 bytecode interpreter [1/3]. 2016-05-18 06:57:59 +02:00
freetype.h Duplicates. 2016-05-07 23:17:57 -04:00
ftadvanc.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftautoh.h Typos. 2016-04-11 23:22:57 -04:00
ftbbox.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftbdf.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftbitmap.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftbzip2.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftcache.h Duplicates. 2016-05-07 22:28:43 -04:00
ftcffdrv.h [truetype] New implementation of v38 bytecode interpreter [1/3]. 2016-05-18 06:57:59 +02:00
ftchapters.h Describe error values and strings in the documentation. 2015-07-23 13:35:07 +02:00
ftcid.h Typos. 2016-04-13 00:11:52 -04:00
fterrdef.h Update copyright year. 2016-01-13 11:54:10 +01:00
fterrors.h Still handle `__FTERRORS_H__'. 2016-01-20 21:10:41 +01:00
ftfntfmt.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftgasp.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftglyph.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftgxval.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftgzip.h Typos. 2016-04-08 23:21:34 -04:00
ftimage.h Duplicates. 2016-05-07 22:28:43 -04:00
ftincrem.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftlcdfil.h Typo. 2016-01-22 23:36:47 -05:00
ftlist.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftlzw.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftmac.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftmm.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftmodapi.h Remove unpatented hinter (3/3). 2016-01-28 14:11:14 +01:00
ftmoderr.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftotval.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftoutln.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftpfr.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftrender.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftsizes.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftsnames.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftstroke.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftsynth.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftsystem.h Duplicates. 2016-05-07 22:28:43 -04:00
fttrigon.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftttdrv.h [truetype] New implementation of v38 bytecode interpreter [1/3]. 2016-05-18 06:57:59 +02:00
fttypes.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftwinfnt.h Update copyright year. 2016-01-13 11:54:10 +01:00
t1tables.h Update copyright year. 2016-01-13 11:54:10 +01:00
ttnameid.h Update copyright year. 2016-01-13 11:54:10 +01:00
tttables.h Typos. 2016-04-08 00:38:49 -04:00
tttags.h Update copyright year. 2016-01-13 11:54:10 +01:00
ttunpat.h Remove unpatented hinter (3/3). 2016-01-28 14:11:14 +01:00