LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-01-2012, 12:47 PM   #31
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301

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.
 
Old 08-01-2012, 01:04 PM   #32
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Rep: Reputation: 92
Quote:
Originally Posted by w1k0 View Post
I ask you to try both xpdf and MuPDF and to compare the results you’ll achieve with my results.
I used openjpeg-1.5.0, so I didn't have the issues that you had.

I compared xpdf-3.0.2pl6 compiled with the float.patch with mupdf-1.0 and at a zoom level of 400% it's unmistakable that mupdf renders faster.

P.S. I also like that you can use the mouse point to "drag" the document around in mupdf rather than use the scroll bars in xpdf.

Last edited by fskmh; 08-01-2012 at 01:08 PM.
 
Old 08-01-2012, 01:24 PM   #33
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
Old 08-01-2012, 03:55 PM   #34
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Finally I managed to install MuPDF and it works as it should. The first attempt failed. The second attempt succeeded.

1. First attempt:

I removed obsolete openjpg 1.4 from SlackBuilds.org and installed current openjpeg 1.5.0 from SVN (revision 1736):

svn checkout http://openjpeg.googlecode.com/svn/trunk/ openjpeg-read-only

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:

git clone http://mupdf.com/repos/mupdf.git

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
 
Old 08-02-2012, 03:44 AM   #35
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Smile

Here is a recent Changelog entry:
Code:
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.
...
 
Old 08-02-2012, 07:18 AM   #36
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by w1k0 View Post
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.
 
Old 08-02-2012, 09:43 AM   #37
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
Old 08-02-2012, 10:09 AM   #38
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by allend View Post
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 View Post
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.
 
Old 08-02-2012, 10:59 PM   #39
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
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.
 
Old 08-17-2012, 12:05 AM   #40
storkus
Member
 
Registered: Jun 2008
Location: Phoenix, Arizona, USA
Distribution: Slackware
Posts: 329

Rep: Reputation: 51
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)?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [slackware 13.1] xpdf very slow and cpu goes to 100% cacao74 Slackware 18 06-26-2011 08:31 PM
xpdf or kpdf? anamericanjoe Linux - Software 2 09-15-2006 03:46 AM
Xpdf satimis Linux - Software 3 09-04-2005 11:28 AM
xpdf 3.00 problem Belegdol Linux - Software 0 01-28-2004 07:20 AM
Xpdf will not print zLinuxz Linux - Software 3 05-03-2002 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration