SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
MuPDF will scroll horizontally, just drag the screen.
Here's a much better test for rendering accuracy, try zooming to 200% is xpdf and zoom at any level in MuPDF. You will notice differences in rendering that greatly favor MuPDF. Look after an 'm' like in Fam ily and M other. If you notice spaces you are using Xpdf. Also notice that the 'm' may run into the previous letter. This makes it much easier to read using MuPDF.
Oh, and MuPDF can be compiled statically with the third-party packages also on their site. So, you don't actually need to install any dependencies if you don't want to.
Last edited by H_TeXMeX_H; 08-01-2012 at 12:53 PM.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
H_TeXMeX_H,
On my machine I can scroll the documents with MuPDF only vertically using arrow keys or TrackPoint. Nor keys, nor TrackPoint scroll the document horizontally.
I know about the third party packages from mupdf-thirdparty-2012-04-23.zip file but for the first time I installed them using the packages from SlackBuilds.org.
fskmh,
I used jbig2dec-0.11 and openjpeg_v1_4_sources_r697 from SlackBuilds.org. Later I'll try openjpeg-1.5.0 and if it'll fail -- the third party packages mentioned above.
All I wrote about MuPDF concerns the version 1.0 found here.
Then I started the compilation of MuPDF but it aborted:
# make prefix=/usr/local install
Code:
MKDIR build/debug
CC build/debug/filt_faxd.o
CC build/debug/image_md5.o
CC build/debug/image_jpx.o
fitz/image_jpx.c:4:22: fatal error: openjpeg.h: No such file or directory
compilation terminated.
make: *** [build/debug/image_jpx.o] Error 1
2. Second attempt:
So I removed jbig2dec from SlackBuilds.org and openjpeg from SVN, downloaded mupdf-thirdparty-2012-04-23.zip file found here, unpacked it to mupdf-1.0-source directory and I finally managed to compile MuPDF using the following command:
make prefix=/usr/local install
MuPDF still refused to scroll the documents horizontally but I found the manual page and learned about the valid keyboard shortcuts. When I use h, j, k, l keys MuPDF scrolls the documents vertically and horizontally. Earlier I used arrow keys and TrackPoint (mouse). With arrows and mouse MuPDF scrolls the documents vertically only. I overlooked these keyboard shortcuts in Vi style because MuPDF doesn’t install the man pages in the system so I supposed that there are no such pages for that program.
3. Third attempt:
Finally I tried MuPDF from GIT using the same thirdparty-2012-04-23.zip file:
That version of MuPDF works the same as version 1.0 described above.
***
As for font rendering in the default 125% scale MuPDF displays them smoother than xpdf. Personally I prefer more sharp fonts in xpdf to the blurred fonts in MuPDF. I prefer also to scroll the document with the arrow keys and the mouse in xpdf to do that with h, j, k, l keys in MuPDF. It’s a matter of taste of course. In the scale 200% the result obtained with MuPDF is more pleasant than obtained with xpdf but usually I don’t read the documents in such a large scale of the magnification.
***
I compared MuPDF to xpdf in 400% scale. MuPDF doesn’t render the pages faster than xpdf but it uses bigger jumps so the scrolling of the document is less smooth with MuPDF than with xpdf.
Last edited by w1k0; 08-01-2012 at 04:13 PM.
Reason: appendix
Wed Aug 1 20:24:06 UTC 2012
...
xap/xpdf-3.02pl6-i486-4.txz: Rebuilt.
Patched to fix slow scrolling caused by a quirk exposed in newer versions
of gcc. Patch by Michael Gilbert. Thanks to LQ for pointing it out.
...
As for font rendering in the default 125% scale MuPDF displays them smoother than xpdf. Personally I prefer more sharp fonts in xpdf to the blurred fonts in MuPDF. I prefer also to scroll the document with the arrow keys and the mouse in xpdf to do that with h, j, k, l keys in MuPDF. It’s a matter of taste of course. In the scale 200% the result obtained with MuPDF is more pleasant than obtained with xpdf but usually I don’t read the documents in such a large scale of the magnification.
***
I compared MuPDF to xpdf in 400% scale. MuPDF doesn’t render the pages faster than xpdf but it uses bigger jumps so the scrolling of the document is less smooth with MuPDF than with xpdf.
If you want sharper text in MuPDF turn off anti-aliasing with '-b0'. I prefer to leave it on.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Personally I prefer xpdf because of its keyboard shortcuts, mouse actions, and more precise documents scrolling. I'm glad xpdf-3.02pl6-i486-4 is patched by default since yesterday. It means for me one patching less during the installation of the system. As I stated above such a choice is a matter of taste. Some people prefer xpdf, some prefer MuPDF, and some use something else.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Quote:
Originally Posted by allend
I have just had this bug bite me. (Probably serves me right for using WindowMaker again after some time).
I don’t follow that. Is there some connection between xpdf and Window Maker or the statement in the parentheses is a digression?
As for Window Maker I use it exclusively since 1998 (advertising). For a long time Slackware offered seven years old 0.92.0 version – since July 13, 2012 it offers the newest 0.95.3 one.
Quote:
Originally Posted by fskmh
No print or find functionality out the box.
In fact MuPDF allows to find strings: ‘/ the string’ finds the string, ‘n’ finds the next occurrence, and ‘N’ finds the previous occurrence.
I don’t follow that. Is there some connection between xpdf and Window Maker or the statement in the parentheses is a digression?
Just a personal connection, in that I tend to use KDE most of the time, where I use okular to view pdf files.
Recently I have been using WindowMaker on my netbook again, and I am trying to avoid using KDE apps. Hence the return to xpdf.
Thanks to Pat for for the quick update.
Quick (and possibly dumb, admittedly) question: I know it's late now that we're at RC-2, but why are we still using xpdf-3.02 when 3.03 has been out for a year (and, I'm assuming, has all the patches in question)?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.