Here is a patch against 0.8.15 to support fullscreen (f toggle key) + setting X11 background to black (better for presentation :)) + dynamic MAXRES which set it to the max height of the screen. Partially based on : https://github.com/shuge/shugepdf also adding a new key z which zoom to the largest allowed.
Created attachment 7461 [details] the patch
Thank you! It works. This will be a great feature for the next MuPDF release. This is the only reason I keep my old xpdf :) The problem is I got a white line at the top of my PDF in fullscreen mode. Also, I can't fit width the page. I use the "+" and "-" keys but the zoom is too much or not enough :-\
Fixed with commit b2c87fc which adds a fullscreen toggle to both x11 and win32 builds.
@Tor Andersson: this feature request is not completely fixed, since for most people a fullscreen view means displaying at optimal size on the whole screen. There is currently no way to make the PDF exactly fit the screen. I ported this remaining part of the patch linked above, so that it applies on the current git head. It adds the shortcut "z" for fitting the PDF in the screen. https://github.com/mytskine/mupdf-unofficial/commit/b043fa01f5dcf7df05a812bece21a695f0942acd
Fixed. See bug 692934. *** This bug has been marked as a duplicate of bug 692934 ***