pango r2739 - in trunk: . pango



Author: behdad
Date: Fri Nov 21 21:52:36 2008
New Revision: 2739
URL: http://svn.gnome.org/viewvc/pango?rev=2739&view=rev

Log:
2008-11-21  Behdad Esfahbod  <behdad gnome org>

        Bug 561779 â incorrect calculations in pango_matrix_concat
        implementation

        * pango/pango-matrix.c (pango_matrix_concat): Fix bug in y0
        computation.

Modified:
   trunk/ChangeLog
   trunk/pango/pango-matrix.c

Modified: trunk/pango/pango-matrix.c
==============================================================================
--- trunk/pango/pango-matrix.c	(original)
+++ trunk/pango/pango-matrix.c	Fri Nov 21 21:52:36 2008
@@ -192,7 +192,7 @@
   matrix->yx = tmp.yx * new_matrix->xx + tmp.yy * new_matrix->yx;
   matrix->yy = tmp.yx * new_matrix->xy + tmp.yy * new_matrix->yy;
   matrix->x0  = tmp.xx * new_matrix->x0 + tmp.xy * new_matrix->y0 + tmp.x0;
-  matrix->y0  = tmp.yx * new_matrix->y0 + tmp.yy * new_matrix->y0 + tmp.y0;
+  matrix->y0  = tmp.yx * new_matrix->x0 + tmp.yy * new_matrix->y0 + tmp.y0;
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]