shithub: freetype+ttf2subf

Download patch

ref: 87a2bc7b693dd6758dfab4faddf49bec6193ab1c
parent: 0657a8ac949d0e33deb64b31252f247b9e00235c
author: Werner Lemberg <[email protected]>
date: Thu Jun 20 06:57:04 EDT 2002

* src/base/ftoutln.c (FT_Vector_Transform): Fix serious typo
(xy <-> yx).
* src/truetype/ttgload.c (load_truetype_glyph): Replace `|' with
`||' to make code easier to read.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-06-19  Werner Lemberg  <[email protected]>
+
+	* src/base/ftoutln.c (FT_Vector_Transform): Fix serious typo
+	(xy <-> yx).
+	* src/truetype/ttgload.c (load_truetype_glyph): Replace `|' with
+	`||' to make code easier to read.
+
 2002-06-18  Roberto Alameda  <[email protected]>.
 
 	* src/type42/t42objs.c (t42_check_size_change): Removed.
@@ -24,7 +31,7 @@
 
 2002-06-16  Leonard Rosenthol  <[email protected]>
 
-	Updated Win32/VC++ projects to include the new PFR driver
+	Updated Win32/VC++ projects to include the new PFR driver.
 
 	* builds\win32\visualc\freetype.dsp: Updated.
 
--- 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->xy );
+         FT_MulFix( vector->y, matrix->yx );
 
-    yz = FT_MulFix( vector->x, matrix->yx ) +
+    yz = FT_MulFix( vector->x, matrix->xy ) +
          FT_MulFix( vector->y, matrix->yy );
 
     vector->x = xz;
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -1066,7 +1066,7 @@
             }
           }
 
-          if ( x | y )
+          if ( x || y )
           {
             translate_array( num_new_points,
                              gloader->base.outline.points + num_base_points,