same arithmetic but easier to read
file->print_preview, file->print_preview->print, and file->print_to_pdf seem to work on mac from openrpt client; file->print sometimes gives correct output and sometimes gives empty output
Merge pull request #18 from gilmoskowitz/23555

issue #23555 - watermarks scaled incorrectly on Macs