[truetype] Trace number of executed opcodes.

* src/truetype/ttinterp.c (TT_RunIns): Implement it.
This commit is contained in:
Werner Lemberg 2016-09-27 21:42:02 +02:00
parent e27b8a5598
commit a3e2c83234
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2016-09-27 Werner Lemberg <wl@gnu.org>
[truetype] Trace number of executed opcodes.
* src/truetype/ttinterp.c (TT_RunIns): Implement it.
2016-09-27 Werner Lemberg <wl@gnu.org>
[truetype] Speed up `TT_Load_Glyph'.
@ -10,7 +16,7 @@
(TT_FaceRec): ... this structure.
* src/truetype/ttgload.c (load_truetype_glyph): Updated.
(tt_loader_init): Move initialization of `glyf_offset' to ...
* src/truetype/ttpload.c (tt_face_load_loca): .. this function.
* src/truetype/ttpload.c (tt_face_load_loca): ... this function.
2016-09-27 Werner Lemberg <wl@gnu.org>

View File

@ -8382,6 +8382,7 @@
} while ( !exc->instruction_trap );
LNo_Error_:
FT_TRACE4(( " %d instructions executed\n", ins_counter ));
return FT_Err_Ok;
LErrorCodeOverflow_: