Summary: | graphics/mupdf: optional scroll hack | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | lichray | ||||||||||
Component: | Individual Port(s) | Assignee: | Xin LI <delphij> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | ||||||||||||
Priority: | Normal | ||||||||||||
Version: | Latest | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Description
lichray
2011-05-16 22:00:22 UTC
This updated patch adds the same function to mouse wheel. -- Zhihao Yuan The best way to predict the future is to invent it. The previous patch does not distinguish the x-scroll and y-scroll. This patch fixes the bug. -- Zhihao Yuan The best way to predict the future is to invent it. This one includes 2 patches. The scroll hack one is stable enough and not changed. The new one changes MuPDF's hard-coded DPI (72) with a X DPI detection (opens and closes a X Display within a function); this patch is not optional (since these is no need to keep the old way). -- Zhihao Yuan The best way to predict the future is to invent it. It seems that my previous two replies can not be shown correctly. Let me paste them here: 2nd: The previous patch does not distinguish the x-scroll and y-scroll. This patch fixes the bug. 3rd: This one includes 2 patches. The scroll hack one is stable enough and not changed. The new one changes MuPDF's hard-coded DPI (72) with a X DPI detection (opens and closes a X Display within a function); this patch is not optional (since these is no need to keep the old way). Responsible Changed From-To: freebsd-ports-bugs->delphij Take. delphij 2011-05-18 00:25:45 UTC FreeBSD ports repository Modified files: graphics/mupdf Makefile Added files: graphics/mupdf/files patch-apps_x11_main.c scroll_hack-apps_pdfapp.c Log: - Instead of using a hardcoded DPI, obtain it from X; - Add an optional hack that allows j, k and mouse to scroll across page boundary. Submitted by: maintainer PR: ports/157095 (with changes) Revision Changes Path 1.14 +9 -0 ports/graphics/mupdf/Makefile 1.1 +36 -0 ports/graphics/mupdf/files/patch-apps_x11_main.c (new) 1.1 +46 -0 ports/graphics/mupdf/files/scroll_hack-apps_pdfapp.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed (with changes to make up the menu), thanks! |