shithub: freetype+ttf2subf

Download patch

ref: dce554b1bd7fb78b5ee7a80f1726b8641d7cd677
parent: 3b37bfc4b59597486230ce67e9b75eb7bc0fab7e
author: Alexei Podtelezhnikov <[email protected]>
date: Thu Aug 11 03:29:19 EDT 2016

* src/truetype/ttinterp.c (Pop_Push_Count): Fix some entries.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-08-11  Alexei Podtelezhnikov  <[email protected]>
+
+	* src/truetype/ttinterp.c (Pop_Push_Count): Fix some entries.
+
 2016-08-10  Peter Klotz  <[email protected]>
 
 	* src/smooth/ftgrays.c (gray_hline): Fix uninitialized access.
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -682,17 +682,17 @@
 
     /*  IUP[0]    */  PACK( 0, 0 ),
     /*  IUP[1]    */  PACK( 0, 0 ),
-    /*  SHP[0]    */  PACK( 0, 0 ),
-    /*  SHP[1]    */  PACK( 0, 0 ),
+    /*  SHP[0]    */  PACK( 1, 0 ),
+    /*  SHP[1]    */  PACK( 1, 0 ),
     /*  SHC[0]    */  PACK( 1, 0 ),
     /*  SHC[1]    */  PACK( 1, 0 ),
     /*  SHZ[0]    */  PACK( 1, 0 ),
     /*  SHZ[1]    */  PACK( 1, 0 ),
-    /*  SHPIX     */  PACK( 1, 0 ),
-    /*  IP        */  PACK( 0, 0 ),
+    /*  SHPIX     */  PACK( 2, 0 ),
+    /*  IP        */  PACK( 1, 0 ),
     /*  MSIRP[0]  */  PACK( 2, 0 ),
     /*  MSIRP[1]  */  PACK( 2, 0 ),
-    /*  AlignRP   */  PACK( 0, 0 ),
+    /*  AlignRP   */  PACK( 2, 0 ),
     /*  RTDG      */  PACK( 0, 0 ),
     /*  MIAP[0]   */  PACK( 2, 0 ),
     /*  MIAP[1]   */  PACK( 2, 0 ),
@@ -765,7 +765,7 @@
     /*  SANGW     */  PACK( 1, 0 ),
     /*  AA        */  PACK( 1, 0 ),
 
-    /*  FlipPT    */  PACK( 0, 0 ),
+    /*  FlipPT    */  PACK( 1, 0 ),
     /*  FlipRgON  */  PACK( 2, 0 ),
     /*  FlipRgOFF */  PACK( 2, 0 ),
     /*  INS_$83   */  PACK( 0, 0 ),