Mupdf new pdf viewer

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

Mupdf new pdf viewer

#1 Post by disciple »

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.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#2 Post by mikeb »

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

lapis
Posts: 184
Joined: Mon 02 Jun 2008, 08:21

#3 Post by lapis »

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.
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.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#4 Post by mikeb »

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

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#5 Post by disciple »

Wow, it is fast. Seems to segfault on (some?) multi-page pdfs though...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#6 Post by ttuuxxx »

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 :) So really thats all you need to view pdf files and zoom +/- what a excellent application :)
Attachments
example.jpg
(56.68 KiB) Downloaded 2459 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#7 Post by ttuuxxx »

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 :)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#8 Post by mikeb »

Sneaky ttuuxx...will test later :) cheers...that speed needs taming

mike

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#9 Post by aragon »

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

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#10 Post by ttuuxxx »

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 :)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#11 Post by mikeb »

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
ximage: mode 16/16 0000f800 000007e0 0000001f (11,5,0) lsb <swap>
ximage: ARGB8888 to RGB565_BR
ximage: XShmPutImage
24 bit
ximage: mode 24/32 00ff0000 0000ff00 000000ff (16,8,0) lsb <swap>
ximage: ARGB8888 to BGRA8888
ximage: XShmPutImage
but fast , small and sweet

mike

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#12 Post by disciple »

I discovered the color rendering is incorrect when X is at x16 colors but ok at x24
http://bugs.ghostscript.com/ :)
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. ... 437#217437
ps added a small version
That's quite a reasonable size now :)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply