freetype2/include/freetype
Werner Lemberg d609b7c158 [sfnt] Don't provide (completely) broken strike data.
FreeType tries to sanitize strike header data; we now reject
completely broken ones.

* include/freetype/internal/tttypes.h (TT_FaceRec): New
`sbit_strike_map' array pointer.

* src/base/ftobjs.c (FT_Match_Size): Reject matches where either
width or height would be zero.
Add tracing message in case of error.

* src/sfnt/sfobjs.c (sfnt_load_face): Populate `sbit_strike_map',
only using (more or less) valid strike header data for
FT_Face's `available_sizes' array.
(sfnt_done_face): Updated.

* src/sfnt/ttsbit.c (tt_face_set_sbit_strike): Use
`sbit_strike_map'.
(tt_face_load_strike_metrics): Improve tracing.

* src/truetype/ttdriver.c (tt_size_select): Use `sbit_strike_map'.
2016-09-09 22:11:07 +02:00
..
config Some preparations for the next release. 2016-09-02 08:24:01 +02:00
internal [sfnt] Don't provide (completely) broken strike data. 2016-09-09 22:11:07 +02:00
freetype.h [sfnt] Don't provide (completely) broken strike data. 2016-09-09 22:11:07 +02:00
ftadvanc.h Update copyright year. 2016-01-13 11:54:10 +01:00
ftautoh.h Handle properties in `FREETYPE_PROPERTIES' environment variable. 2016-07-11 15:11:38 +02: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 Handle properties in `FREETYPE_PROPERTIES' environment variable. 2016-07-11 15:11:38 +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 [smooth] Simplify span rendering. 2016-08-22 23:06:45 -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 [type1] MM fonts support exactly zero named instances (#48748). 2016-09-06 16:28:57 +02: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 Parentheses. 2016-05-20 22:04:01 -04:00
ftoutln.h Minor documentation improvements. 2016-09-06 12:29:18 +02: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 Handle properties in `FREETYPE_PROPERTIES' environment variable. 2016-07-11 15:11:38 +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