win32: fix(?) printing page-size calculation when in 100*mm
Windows provide page metrics in either 1000ths of inches or 100ths of millimeters. I think Racket's calculation was wrong in the mm case.
This commit is contained in:
parent
f82a19c963
commit
4f75350bf3
|
@ -168,7 +168,7 @@
|
|||
(let ([scale (if (zero? (bitwise-and (PAGESETUPDLG-Flags page-setup)
|
||||
PSD_INTHOUSANDTHSOFINCHES))
|
||||
;; 100ths of mm
|
||||
(/ SCREEN-DPI (* 10.0 2.54))
|
||||
(/ SCREEN-DPI (* 1000.0 2.54))
|
||||
;; 1000ths of in
|
||||
(/ SCREEN-DPI 1000.0))]
|
||||
[r (PAGESETUPDLG-rtMargin page-setup)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user