From e7fa19d60666897ed819eb0028bab06852a8f420 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 21 Nov 2008 21:52:36 +0000 Subject: [PATCH] =?utf8?q?Bug=20561779=20=E2=80=93=20incorrect=20calculati?= =?utf8?q?ons=20in=20pango=5Fmatrix=5Fconcat?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-11-21 Behdad Esfahbod Bug 561779 – incorrect calculations in pango_matrix_concat implementation * pango/pango-matrix.c (pango_matrix_concat): Fix bug in y0 computation. svn path=/trunk/; revision=2739 --- ChangeLog | 8 ++++++++ pango/pango-matrix.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6bdb997..b936000 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-11-21 Behdad Esfahbod + + Bug 561779 – incorrect calculations in pango_matrix_concat + implementation + + * pango/pango-matrix.c (pango_matrix_concat): Fix bug in y0 + computation. + 2008-11-19 Behdad Esfahbod Bug 560730 – pango 1.22.2 build failure on Solaris 10, too many array diff --git a/pango/pango-matrix.c b/pango/pango-matrix.c index c58e58a..70a1698 100644 --- a/pango/pango-matrix.c +++ b/pango/pango-matrix.c @@ -192,7 +192,7 @@ pango_matrix_concat (PangoMatrix *matrix, 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; } /** -- 2.7.4