shithub: freetype+ttf2subf

Download patch

ref: 9bfecfd2b69c08dcb8650b4022be6c193f9b820a
parent: 7833e308efec8caf5ce62855e9b27041ad2155ad
author: Alexei Podtelezhnikov <[email protected]>
date: Wed Jun 9 19:34:04 EDT 2021

* src/truetype/ttinterp.c (TT_RunIns): Optimize tracing.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2021-06-09  Alexei Podtelezhnikov  <[email protected]>
 
+	* src/truetype/ttinterp.c (TT_RunIns): Optimize tracing. 
+
+2021-06-09  Alexei Podtelezhnikov  <[email protected]>
+
 	[sdf] Fix SDF positioning.
 
 	* src/sdf/ftsdfrend.c (ft_sdf_render, ft_bsdf_render): Add padding to
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -7922,6 +7922,7 @@
       exc->opcode = exc->code[exc->IP];
 
 #ifdef FT_DEBUG_LEVEL_TRACE
+      if ( ft_trace_levels[trace_ttinterp] >= 6 )
       {
         FT_Long  cnt = FT_MIN( 8, exc->top );
         FT_Long  n;