Bug 692165 - [PATCH] support fullscreen suitable for presentation viewing
Summary: [PATCH] support fullscreen suitable for presentation viewing
Status: RESOLVED DUPLICATE of bug 692934
Alias: None
Product: MuPDF
Classification: Unclassified
Component: mupdf (show other bugs)
Version: unspecified
Hardware: PC FreeBSD
: P4 enhancement
Assignee: Tor Andersson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-20 13:42 UTC by bapt
Modified: 2014-02-17 04:44 UTC (History)
4 users (show)

See Also:
Customer:
Word Size: ---


Attachments
the patch (2.87 KB, patch)
2011-04-20 13:43 UTC, bapt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bapt 2011-04-20 13:42:58 UTC
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.
Comment 1 bapt 2011-04-20 13:43:49 UTC
Created attachment 7461 [details]
the patch
Comment 2 YuGiOhJCJ 2012-01-18 12:09:10 UTC
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 :-\
Comment 3 Tor Andersson 2012-01-18 12:35:12 UTC
Fixed with commit b2c87fc which adds a fullscreen toggle to both x11
and win32 builds.
Comment 4 François Gannaz 2012-03-04 01:37:32 UTC
@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
Comment 5 Robin Watts 2012-03-19 12:47:18 UTC
Fixed. See bug 692934.

*** This bug has been marked as a duplicate of bug 692934 ***