Created attachment 13271 [details] file trigering the issue Description: When I try to display the attached file on full screen mode with mupdf. The "fit to height" (shift+h) and "fit to width" (shift+w) functions do not work as expected. The page is still surrounded by a grey background instead of fully using the size of the screen. Reproduction: 1) Open the attached file with Mupdf 2) Display the file in full screen mode (f) 3) Use the function fit to height (shift+h) Expected behavior: The page should be displayed using the full height of the monitor. (no grey area above and below the page. Observed behavior: The display does not used the entire screen space (there are grey space above and below the page. This works fine with other PDF readers. Additional Info: Resolution: 1920x1080
commit 1b9490577c2a3a27ccd89a98cce614719660f78a Author: Tor Andersson <tor.andersson@artifex.com> Date: Fri Nov 9 17:24:01 2018 +0100 Fix 697461: Use floating point resolution in mupdf-x11. Fitting the page to the screen needs more precision than an integer DPI.