issue #22991 - float division avoids truncation of page to 8 inch width (mac-specific because of compiler difference?)
issue #22991 - on at least some macs, explicitly setting the paper size changes the orientation back to portrait. need to test on a different mac and on both windows and linux.
Merge pull request #17 from gilmoskowitz/22991

issue #22991