<div dir="ltr"><div><div><div><div><div><div>Hi all,<br><br><br></div> While reading CairoFontEngine.cc, I found the following lines around line 600:<br><br> extents->ascent = mat[3]; /* y2 */<br> extents->descent = -mat[3]; /* -y1 */<br>
extents->height = extents->ascent + extents->descent;<br> extents->max_x_advance = mat[2] - mat[1]; /* x2 - x1 */<br> extents->max_y_advance = 0;<br><br> <br></div> The indices of mat[] looks suspicious to me, seems that they are not matching the comments nor the fields of extents.<br>
<br></div> Can any one please verify this?<br><br></div> Thanks!<br><br><br></div> regards,<br></div> - Lu Wang<br></div>