mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Bug 418428. Don't force devpixels to be an integer multiple of CSS pixels when printing on Windows. r=stuart
This commit is contained in:
parent
123a96d191
commit
f693027226
@ -186,6 +186,7 @@ nsThebesDeviceContext::SetDPI()
|
||||
|
||||
dpi = 144;
|
||||
mPrintingScale = float(OSVal)/dpi;
|
||||
dotsArePixels = PR_FALSE;
|
||||
} else {
|
||||
dc = GetDC((HWND)nsnull);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user