Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 16 Apr 2014, 04:26
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Mupdf new pdf viewer
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Fri 31 Jul 2009, 03:46    Post subject:  Mupdf new pdf viewer  

Hey - for those who are interested there is finally a linux binary of mupdf.
http://ccxvii.net/mupdf/download/
Still only a windows firefox plugin.
No gui by the looks of it, nor find/select features.
Apparently the binary is that big because it includes Chinese, Japanese and Korean fonts, and it is only 1MB with only roman fonts. I wouldn't have thought it should need any fonts...

How fast is it? I suspect it is a lot faster than epdf, but I'm running Puppy in colinux with Slirp at the moment, so I can't really tell.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7160

PostPosted: Fri 31 Jul 2009, 07:26    Post subject:  

Interesting.
Well mupdf rendered with all the wrong colours here..odd.

But pdfdraw which converts to pmn works perfectly.
Both are very fast which is the mupdf trademark and yes large binaries with all those fonts. But good that there now is a linux port.

I recently looked up summatrapdf again and it seems to have improved with menu support, links etc....also fast and runs well in wine. Only quirk is no printing..odd again.

mike
Back to top
View user's profile Send private message 
lapis

Joined: 02 Jun 2008
Posts: 185

PostPosted: Sat 01 Aug 2009, 09:45    Post subject:  

mikeb wrote:
Interesting.
Well mupdf rendered with all the wrong colours here..odd.


I don't know about wrong colours but the text is near illegible on the pdfs I tried and there appears to be no option to display a page fully or scroll.

Quote:

very fast which is the mupdf trademark


Fast indeed. Displayed pages instantly whereas I could go and brew a tea between pages with epdfview on some pdfs. However, being illegible makes mupdf useless no matter what speed.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7160

PostPosted: Sat 01 Aug 2009, 09:48    Post subject:  

Seems like an rgb switcharound...mentioned in terminal output.

But as mentioned pdfdraw renders perfectly and fast.

Maybe try different dpi and I scrolled with mousewheel

mike
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Tue 04 Aug 2009, 05:04    Post subject:  

Wow, it is fast. Seems to segfault on (some?) multi-page pdfs though...
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10730
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 04 Aug 2009, 08:11    Post subject:  

Here try this version, I compiled it on 4.22 and added a keyboard guide to that can you find in /root/MuPDF-keys.rtf
plus I added a right click option in rox, so just right click on any pdf and select mupdf and it will open, actually its a lot smaller compiled and stripped, 883kb pet with all the applications but all the applications aren't needed to view pdf's,

MuPdf is the main bin

pdfdraw:
Renderer tool to convert a PDF file to PNM image files.

pdfclean:
Tool that rewrites PDF files. Can be used to decrypt, encrypt and decompress PDF files.

pdfshow,
Debugging tools to show internal objects, extract fonts and images, and display information about resources in a PDF file.

ttuuxxx

ps added a small version with just the bin file and all keys still work Smile So really thats all you need to view pdf files and zoom +/- what a excellent application Smile
mupdf-2009-07-07-i386-small.pet
Description  reduce to just one bin and all keys still work
pet

 Download 
Filename  mupdf-2009-07-07-i386-small.pet 
Filesize  400.37 KB 
Downloaded  668 Time(s) 
example.jpg
 Description   
 Filesize   56.68 KB
 Viewed   2006 Time(s)

example.jpg

mupdf-2009-07-07-i386.pet
Description 
pet

 Download 
Filename  mupdf-2009-07-07-i386.pet 
Filesize  882.46 KB 
Downloaded  480 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10730
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 04 Aug 2009, 08:26    Post subject:  

updated with a small version, only included the needed bin to view images images and all the key commands still work
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 7160

PostPosted: Tue 04 Aug 2009, 08:39    Post subject:  

Sneaky ttuuxx...will test later Smile cheers...that speed needs taming

mike
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1696
Location: Germany

PostPosted: Tue 04 Aug 2009, 11:31    Post subject:  

very nice, tested with some manuals, they all showed up correct.

as i normally don't print (but sometimes need to read pdf), this is the ideal app for a stripped down version without much dependencies.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10730
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 04 Aug 2009, 11:35    Post subject:  

aragon wrote:
very nice, tested with some manuals, they all showed up correct.

as i normally don't print (but sometimes need to read pdf), this is the ideal app for a stripped down version without much dependencies.

aragon


It would make a excellent default reader also, If someone made a gui for it, but the main issue would be that the keystrokes would have to be emulated, I tried to navigate from command line and that doesn't work, so the gui would have to do the keyboard emulation, thats a bit out of my very tiny coding expertise,lol
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 7160

PostPosted: Tue 04 Aug 2009, 16:11    Post subject:  

Working ...
navigation is easy once familiar.

I discovered the color rendering is incorrect when X is at x16 colors but ok at x24...2 different machines same result.
terminal output....

16 bit
Quote:
ximage: mode 16/16 0000f800 000007e0 0000001f (11,5,0) lsb <swap>
ximage: ARGB8888 to RGB565_BR
ximage: XShmPutImage


24 bit
Quote:
ximage: mode 24/32 00ff0000 0000ff00 000000ff (16,8,0) lsb <swap>
ximage: ARGB8888 to BGRA8888
ximage: XShmPutImage


but fast , small and sweet

mike
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Wed 05 Aug 2009, 04:16    Post subject:  

Quote:
I discovered the color rendering is incorrect when X is at x16 colors but ok at x24

http://bugs.ghostscript.com/ Smile

Quote:
so the gui would have to do the keyboard emulation, thats a bit out of my very tiny coding expertise,lol

That should be easy - try xse http://murga-linux.com/puppy/viewtopic.php?p=217437#217437

Quote:
ps added a small version

That's quite a reasonable size now Smile

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0806s ][ Queries: 12 (0.0051s) ][ GZIP on ]