freetype2/include/freetype/internal
Werner Lemberg 5a1a79c0e8 [woff2] Fix SFNT table checks.
Also reduce number of SFNT table lookups.

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18065

* include/freetype/internal/wofftypes.h (WOFF2_InfoRec): Add fields
`glyf_table', `loca_table', and `head_table'.

* src/sfnt/sfwoff2.c (reconstruct_glyf): Update signature.
Use table pointers in `info' parameter.
(get_x_mins): Check `maxp_table'
Use table pointers in `info' parameter.
(reconstruct_font):  Use and set table pointers in `info' parameter.
Fix check for `glyf' and `loca' tables.
Update call to `reconstruct_glyf'.
(woff2_open_font): Updated.
2019-10-08 11:12:18 +02:00
..
services Make `glyph_name' parameter to `FT_Get_Name_Index' a `const'. 2019-04-06 06:38:16 +02:00
autohint.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
cffotypes.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
cfftypes.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftcalc.h Solidify VC2005 builds. 2019-05-31 22:31:47 -04:00
ftdebug.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftdrv.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftgloadr.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
fthash.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftmemory.h Improve memory debugging. 2019-10-06 21:12:42 +02:00
ftobjs.h Tweak LCD filtering. 2019-05-02 23:06:55 -04:00
ftpsprop.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftrfork.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftserv.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
ftstream.h Add memory access macro summary. 2019-06-13 11:12:26 +02:00
fttrace.h [sfnt] Read WOFF 2 header. 2019-08-27 08:53:51 +02:00
ftvalid.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
internal.h [sfnt] Separate WOFF sources and headers. 2019-05-30 23:57:34 +05:30
psaux.h [type1,type42] Use `const' for string literals. 2019-06-10 23:09:49 -04:00
pshints.h Update all copyright notices. 2019-02-23 10:07:09 +01:00
sfnt.h [sfnt] Separate WOFF sources and headers. 2019-05-30 23:57:34 +05:30
t1types.h [type1,type42] Use `const' for string literals. 2019-06-10 23:09:49 -04:00
tttypes.h [sfnt] Separate WOFF sources and headers. 2019-05-30 23:57:34 +05:30
wofftypes.h [woff2] Fix SFNT table checks. 2019-10-08 11:12:18 +02:00