freetype/src
Werner Lemberg 441b3f3898 [truetype] Improve handling of buggy `prep' tables.
In case of an error in the `prep' table, no longer try to execute it
again and again.  This makes FreeType handle endless loops in buggy
fonts much faster.

* src/truetype/ttobjs.h (TT_SizeRec): The fields `bytecode_ready'
and `cvt_ready' are now negative if not initialized yet, otherwise
they indicate the error code of the last run.

* src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep,
tt_size_done_bytecode, tt_size_init_bytecode,
tt_size_ready_bytecode, tt_size_init, tt_size_done, tt_size_reset):
Updated.

* src/truetype/ttgload.c (tt_loader_init): Updated.
* src/truetype/ttinterp.c (TT_RunIns): Force reexecution of `fpgm'
and `prep' only if we are in the `glyf' table.
2014-07-13 02:28:14 +09:00
..
autofit Partially revert commit from 2014-06-13. 2014-06-17 09:14:32 +02:00
base [base] Clean up bitmap conversion. 2014-07-11 22:40:34 -04:00
bdf Fix clang warnings. 2014-03-18 08:39:35 +01:00
bzip2 */*: Use FT_Err_Ok only. 2013-03-14 11:21:17 +01:00
cache Fix clang warnings. 2014-03-18 08:39:35 +01:00
cff Math simplifications. 2014-02-28 09:25:57 +01:00
cid Fix clang static analyzer and compiler warnings. 2014-02-08 13:55:38 +01:00
gxvalid Another round of cppcheck nitpicks. 2013-08-01 12:20:20 +02:00
gzip [gzip] New function `FT_Gzip_Uncompress'. 2013-08-29 17:53:24 +02:00
lzw Apply fixes for cppcheck nitpicks. 2013-06-04 10:30:48 +02:00
otvalid */*: Use FT_ERR_EQ, FT_ERR_NEQ, and FT_ERR where appropriate. 2013-03-14 17:50:49 +01:00
pcf Fix clang warnings. 2014-03-18 08:39:35 +01:00
pfr Fix clang warnings. 2014-03-18 08:39:35 +01:00
psaux Fix Savannah bug #41309. 2014-01-23 08:14:53 +01:00
pshinter Fix several clang static analyzer dead store warnings. 2014-03-04 04:29:17 +01:00
psnames Fix PIC linking. 2013-12-21 08:14:25 +01:00
raster Minor. 2014-04-24 07:13:31 +02:00
sfnt Fix Apple standard glyph names. 2014-06-27 06:55:56 +02:00
smooth [smooth] Fix stand-alone compilation. 2014-04-13 15:41:13 +02:00
tools [afblue.pl]: Minor improvements. 2014-04-15 16:47:05 +02:00
truetype [truetype] Improve handling of buggy `prep' tables. 2014-07-13 02:28:14 +09:00
type1 Fix clang warnings. 2014-03-18 08:39:35 +01:00
type42 Fix Savannah bug #41309. 2014-01-23 08:14:53 +01:00
winfonts [winfnt] Fix Savannah bug #41694. 2014-02-26 18:12:36 +01:00
Jamfile Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00