shithub: freetype+ttf2subf

Download patch

ref: 318f3befc67e026037da33fb7b5b9a22d567df9a
parent: ba7148d80c1248eef8dea13f9b22c50207a1a325
author: David Turner <[email protected]>
date: Wed Jun 26 16:30:37 EDT 2002

* src/truetype/ttgload.c (TT_Load_Composite_Glyph),
        src/base/ftoutln.c (FT_Vector_Transform): fixed Werner's latest
        fix. FT_Vector_Transform wasn't buggy, the TrueType composite loader
        was...

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,14 @@
+2002-06-26  David Turner
+
+        * src/truetype/ttgload.c (TT_Load_Composite_Glyph),
+        src/base/ftoutln.c (FT_Vector_Transform): fixed Werner's latest
+        fix. FT_Vector_Transform wasn't buggy, the TrueType composite loader
+        was...
+
 2002-06-24  Werner Lemberg  <[email protected]>
 
 	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 3.
+
 
 2002-06-21  David Turner  <[email protected]>
 
--- a/src/base/ftoutln.c
+++ b/src/base/ftoutln.c
@@ -628,9 +628,9 @@
       return;
 
     xz = FT_MulFix( vector->x, matrix->xx ) +
-         FT_MulFix( vector->y, matrix->yx );
+         FT_MulFix( vector->y, matrix->xy );
 
-    yz = FT_MulFix( vector->x, matrix->xy ) +
+    yz = FT_MulFix( vector->x, matrix->yx ) +
          FT_MulFix( vector->y, matrix->yy );
 
     vector->x = xz;
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -544,8 +544,8 @@
       else if ( subglyph->flags & WE_HAVE_A_2X2 )
       {
         xx = (FT_Fixed)FT_GET_SHORT() << 2;
-        xy = (FT_Fixed)FT_GET_SHORT() << 2;
         yx = (FT_Fixed)FT_GET_SHORT() << 2;
+        xy = (FT_Fixed)FT_GET_SHORT() << 2;
         yy = (FT_Fixed)FT_GET_SHORT() << 2;
       }