cairo: Fix failures to scale between cairo and pango units.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 24 Jun 2014 05:20:31 +0000 (22:20 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 24 Jun 2014 05:20:31 +0000 (22:20 -0700)
commit8b37f66b3599f5809fbbb300d5cba5bb0557c184
tree0b33505df645831edc3222b795230c933c50e91d
parent0b4f6dfaf4cbf6bd0a118b845806aff6651bb343
cairo: Fix failures to scale between cairo and pango units.

The difference between Cairo and Pango units, as currently defined by
XR_POINT and PANGO_SCALE, is only 2.4% (1000 versus 1024).  This makes the
difference rarely noticeable, and easy to miss when casually looking at
output.  However, while continuing to develop the PSPP output drivers, I
did notice.

To make the difference obvious, I temporarily changed XR_POINT from 1000
to 500.  This commit fixes the problems that this revealed.
src/output/cairo.c