* 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
diff --git a/ChangeLog b/ChangeLog
index a38ed20..316059e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-06-19 Werner Lemberg <wl@gnu.org>
+
+ * 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 <ojancano@geekmail.de>.
* src/type42/t42objs.c (t42_check_size_change): Removed.
@@ -24,7 +31,7 @@
2002-06-16 Leonard Rosenthol <leonardr@lazerware.com>
- 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.
diff --git a/src/base/ftoutln.c b/src/base/ftoutln.c
index f9a806f..cbf2e0f 100644
--- 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;
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index c5c8dae..8cb80ac 100644
--- 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,