Details

[Home]

Issue of the Implementation # S0771

Brief

Incorrect calculations in pango_matrix_concat implementation

Detailed Description

y0 parameter of the resulting matrix is calculated incorrectly:

matrix->y0 = tmp.yx * new_matrix->y0 + tmp.yy * new_matrix->y0 + tmp.y0;

It should be:

matrix->y0 = tmp.yx * new_matrix->x0 + tmp.yy * new_matrix->y0 + tmp.y0;

Problem location(s) in the standard

Linux Standard Base Desktop Specification 3.2, Chapter 15. Libraries, 15.11. Interfaces for libpango-1.0 that refers Pango 1.10.4 Reference Manual, Glyph Storage

Component

libpango-1.0

Accepted

Gnome Bugzilla 561779

Status

Fixed in pango-1.22.3

[Home]