cairo: Fix font scaling.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 29 Dec 2019 16:25:57 +0000 (16:25 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 29 Dec 2019 16:49:43 +0000 (16:49 +0000)
commitd9153beacc1308b37dbaf4f64155553360aa0173
tree6d0616e75dff4d9aed84dbcbd1bbdcf4c0986647
parent3c15b41c0360cc66ad9608a18ba379112f10b5b9
cairo: Fix font scaling.

It's really a mystery why a 9-point font doesn't appear 9 points tall
in PDF (etc.) output, but it doesn't.  I guess we're doing something
wrong somewhere.  But until we figure out the underlying issue, we need
to scale down font sizes for PDF and not for on-screen use.

This is a slightly better fix for font sizes than the previous commit
3c15b41c036 (pivot-table: Kluge dropping default 9-point font to make
output readable.)
src/output/cairo.c
src/output/pivot-table.c