[poppler] About a few statements in CairoFontEngine.cc
Lu Wang
coolwanglu at gmail.com
Thu Sep 19 01:19:10 PDT 2013
Hi all,
While reading CairoFontEngine.cc, I found the following lines around
line 600:
extents->ascent = mat[3]; /* y2 */
extents->descent = -mat[3]; /* -y1 */
extents->height = extents->ascent + extents->descent;
extents->max_x_advance = mat[2] - mat[1]; /* x2 - x1 */
extents->max_y_advance = 0;
The indices of mat[] looks suspicious to me, seems that they are not
matching the comments nor the fields of extents.
Can any one please verify this?
Thanks!
regards,
- Lu Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20130919/b695e837/attachment.html>
More information about the poppler
mailing list