freetype2/src
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
..
autofit [autofit] Add blue-zone support for Gujarati script. 2016-04-25 21:18:24 +02:00
base [base] Reject invalid sfnt Mac resource (#47891). 2016-05-16 20:16:35 +02:00
bdf Update copyright year. 2016-01-13 11:54:10 +01:00
bzip2 Update copyright year. 2016-01-13 11:54:10 +01:00
cache [cache] Allow value 0 for face ID. 2016-05-07 16:24:03 +02:00
cff [cff] Fix matrix scaling (#47848). 2016-05-17 19:54:09 +02:00
cid [cid] Fix scanning for `StartData' and `/sfnts' (#47892). 2016-05-16 19:44:19 +02:00
gxvalid Typos. 2016-04-13 00:11:52 -04:00
gzip Duplicates. 2016-05-07 22:28:43 -04:00
lzw Update copyright year. 2016-01-13 11:54:10 +01:00
otvalid Whitespace. 2016-02-15 12:54:40 +01:00
pcf Whitespace. 2016-02-15 12:54:40 +01:00
pfr Typos. 2016-04-13 00:11:52 -04:00
psaux Update copyright year. 2016-01-13 11:54:10 +01:00
pshinter Duplicates. 2016-05-07 22:28:43 -04:00
psnames Update copyright year. 2016-01-13 11:54:10 +01:00
raster [raster, smooth] Directly test outline size (#47500). 2016-03-23 07:31:59 +01:00
sfnt Typos. 2016-04-13 00:11:52 -04:00
smooth [smooth] More efficient accounting of conic splits and draws. 2016-05-05 23:41:03 -04:00
tools [ftfuzzer] Improve coverage of rasterfuzzer. 2016-03-12 23:48:13 +01:00
truetype [truetype] New implementation of v38 bytecode interpreter [1/3]. 2016-05-18 06:57:59 +02:00
type1 Whitespace. 2016-02-15 12:54:40 +01:00
type42 Remove unpatented hinter (3/3). 2016-01-28 14:11:14 +01:00
winfonts Update copyright year. 2016-01-13 11:54:10 +01:00
Jamfile Update copyright year. 2016-01-13 11:54:10 +01:00