ref: a3e2c8323494b55f3c78781616a0a52c814d8460
parent: e27b8a5598d851c98ec04f23316587e94d5bb086
author: Werner Lemberg <[email protected]>
date: Tue Sep 27 17:42:02 EDT 2016
[truetype] Trace number of executed opcodes. * src/truetype/ttinterp.c (TT_RunIns): Implement it.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2016-09-27 Werner Lemberg <[email protected]>
+ [truetype] Trace number of executed opcodes.
+
+ * src/truetype/ttinterp.c (TT_RunIns): Implement it.
+
+2016-09-27 Werner Lemberg <[email protected]>
+
[truetype] Speed up `TT_Load_Glyph'.
This avoids additional calls to `tt_face_lookup_table' for the
@@ -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 <[email protected]>
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -8382,6 +8382,7 @@
} while ( !exc->instruction_trap );
LNo_Error_:
+ FT_TRACE4(( " %d instructions executed\n", ins_counter ));
return FT_Err_Ok;
LErrorCodeOverflow_: