From: Behdad Esfahbod Date: Fri, 21 Nov 2008 21:52:36 +0000 (+0000) Subject: Bug 561779 – incorrect calculations in pango_matrix_concat X-Git-Tag: PANGO_1_22_3~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7fa19d60666897ed819eb0028bab06852a8f420;p=platform%2Fupstream%2Fpango.git Bug 561779 – incorrect calculations in pango_matrix_concat 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 --- 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; } /**