shithub: freetype+ttf2subf

Download patch

ref: eff1ee3bd3624db2786102a93ca8fe80b34597da
parent: 9b71edb0deb16b68a7944f95f7ef9c9c599e8f02
author: Werner Lemberg <[email protected]>
date: Wed Aug 31 16:40:00 EDT 2005

* src/truetype/ttgload.c (load_truetype_glyph): Fix typo.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-31  Werner Lemberg  <[email protected]>
+
+	* src/truetype/ttgload.c (load_truetype_glyph): Fix typo.
+
 2005-08-30  Werner Lemberg  <[email protected]>
 
 	* src/gxvalid/README: Revised.
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -1212,7 +1212,7 @@
 #endif
 
 
-    if ( recurse_count >= face->max_profile.maxComponentDepth )
+    if ( recurse_count > face->max_profile.maxComponentDepth )
     {
       error = TT_Err_Invalid_Composite;
       goto Exit;