DaemonForums  

Go Back   DaemonForums > Miscellaneous > Off-Topic

Off-Topic Everything else.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th February 2011
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,051
Thanked 118 Times in 93 Posts
Thumbs down PDF: Quality of Document Rendering on BSDs

A simple comparision of Evince (epdfview does the same) and Sumatra PDF using WINE (Sumatra PDF is open-source software, but written for Windows platform).

Evince vs. Sumatra | RENDERING


Evince vs. Sumatra | MEMORY USAGE


What is more funny, its more memory efficient to use Sumatra PDF using WINE then Evince natively ... guess whats my new PDF viewer

[1] http://projects.gnome.org/evince/
[2] http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html

PS. If You are scared about lack of WINE on amd64, then I have good message for You, these screenshots are from FreeBSD 8.2 amd64 using package by Ivoras available here: http://people.freebsd.org/~ivoras/wine/
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #2   (View Single Post)  
Old 10th February 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 759
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by vermaden View Post
Sumatra PDF using WINE (Sumatra PDF is open-source software, but written for Windows platform).
That is only partially true. Sumatra PDF rendering libraries are ported to Unix!
mupdf is absolutely the most minimalistic PDF viewer written in pure C which uses the Sumatra PDF rendering libraries. Most OpenBSD people I know of use mupdf, myself included.

Code:
$ uname -a
OpenBSD oko.bagdala2.net 4.8 GENERIC.MP#361 i386
$ pkg_info mupdf
Information for inst:mupdf-0.6p0
Comment:
graphic library, pdf parser, viewer and utilities

Description:
MuPDF is a lightweight PDF viewer and toolkit written in portable C.
Most FreeBSD people I know of use MAC Consequently mupdf port on FreeBSD has been broken for ages. Looks like TeXLive joke all over again. Good thing Hiroki Sato is the Core Team member so he will fix mupdf as soon as he finishes TeXLive port on which he is working since 2001

Last edited by Oko; 10th February 2011 at 05:43 PM.
Reply With Quote
  #3   (View Single Post)  
Old 10th February 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Indeed, mupdf is nice for reading the odd book.. doesn't support showing indexes though, so generally I keep epdfview around, xpdf is crap.
Reply With Quote
  #4   (View Single Post)  
Old 10th February 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 759
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
Indeed, mupdf is nice for reading the odd book.. doesn't support showing indexes though, so generally I keep epdfview around, xpdf is crap.
Sure neither it does support search or even a print. So somebody needs to sit down and to write more "user friendly" viewer based on Sumatra PDF libraries. But the most important thing is that those libraries are ported. So somebody already did the was the most difficult job
Reply With Quote
  #5   (View Single Post)  
Old 10th February 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

mupdf supports search, using vi-like bindings, but it's not perfect.. no such thing exists for PDF readers.
Reply With Quote
  #6   (View Single Post)  
Old 10th February 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 759
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
mupdf supports search, using vi-like bindings, but it's not perfect.. no such thing exists for PDF readers.
That is the new information for me. I have been using mupdf since Stuart ported it to OpenBSD. I need to read man pages again
Reply With Quote
  #7   (View Single Post)  
Old 10th February 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

BTW, the issue vermaden is having is a known issue.. mostly about it not antialiasing certain things.

I believe the issue is in poppler/cairo, the library used by epdfview and evince.

On OpenBSD, I don't see the visual distortions.. perhaps something about your specific configuration or the FreeBSD port, what versions do they use?
Reply With Quote
  #8   (View Single Post)  
Old 10th February 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 759
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
mupdf supports search, using vi-like bindings, but it's not perfect.. no such thing exists for PDF readers.
I checked You are not right for version 0.6. Are you suggesting that mupdf version 0.7 which is in 4.9 supports search? You are wrong about the other thing. Xpdf does indeed support search (actually it is called find and it is a binocular icon on the bottom of the reader).
Reply With Quote
  #9   (View Single Post)  
Old 10th February 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 759
Thanked 36 Times in 32 Posts
Default

I just checked and yes indeed the version 0.7 of mupdf DOES support search with key /
That is fantastic! Unfortunately I always end up with installation of xpdf since it is required
by Xfig.
Reply With Quote
Old 10th February 2011
Alphalutra1 Alphalutra1 is offline
Port Guard
 
Join Date: Sep 2008
Posts: 29
Thanked 0 Times in 0 Posts
Default

Thanks for the suggestion of mupdf. It works great.

Quote:
Originally Posted by oko
Consequently mupdf port on FreeBSD has been broken for ages.
Version 0.7 works perfectly installed straight from FreeBSD ports. So it is definitely not broken. Looking at the commit logs, it seems it was broken for less than a month in September. You must not be very old for that being ages
Reply With Quote
Old 10th February 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Quote:
Originally Posted by Oko View Post
I checked You are not right for version 0.6. Are you suggesting that mupdf version 0.7 which is in 4.9 supports search? You are wrong about the other thing. Xpdf does indeed support search (actually it is called find and it is a binocular icon on the bottom of the reader).
I wasn't implying that only mupdf supported search, what I meant was there is no such thing as a perfect PDF reader.
Reply With Quote
Old 11th February 2011
backrow backrow is offline
Real Name: Anthony J. Bentley
Shell Scout
 
Join Date: Jul 2009
Location: Albuquerque, NM
Posts: 116
Thanked 10 Times in 4 Posts
Default

Quote:
Originally Posted by Oko View Post
I just checked and yes indeed the version 0.7 of mupdf DOES support search with key /
Unfortunately, the search is currently only within a page, not ahead pages. Mupdf is great but not very useful for long documents yet, because of that and the lack of indexes. But this will improve with time, I suspect. I noticed they changed the keybindings several times, but I’m glad they chose vi‐style in the end.

I also found a memory leak but haven’t gotten around to reporting it yet…
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems.

Last edited by backrow; 11th February 2011 at 03:48 PM.
Reply With Quote
Old 11th February 2011
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,051
Thanked 118 Times in 93 Posts
Default

Thanks for suggestion on mupdf, seems I may like it since I also use vi a lot, I was also suggested on FreeBSD Forums, that I may have disabled antialiasing in cairo ... do not remember doing that but who knows.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Old 12th February 2011
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

It supports vi keystrokes, it's C, and it's small. OK, if there's a package available for Zenwalk, I think Evince is getting retirement!
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 12th February 2011
Oliver_H's Avatar
Oliver_H Oliver_H is offline
Real Name: Oliver Herold
UNIX lover
 
Join Date: May 2008
Location: Germany
Posts: 429
Thanked 26 Times in 22 Posts
Default

Ewww, so you're on Linux now? ;-)
__________________
use UNIX or die :-)
Reply With Quote
Old 12th February 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Ewwww, indeed.
Reply With Quote
Old 13th February 2011
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Thanked 0 Times in 0 Posts
Default

What's wrong with a user building texlive from source if all of the require dependencies are met?

Quote:
Originally Posted by Jim
Boy, whut are you using?
Quote:
Originally Posted by Bob
Ahm using Leenoox, suh. But Ahm trying out BSD.
Quote:
Originally Posted by JIm
Doesn't that stuff make your pecker fall off?
Reply With Quote
Old 13th February 2011
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

Quote:
Originally Posted by Oliver_H View Post
Ewww, so you're on Linux now? ;-)
At least until the FreeBSD Linuxator grows more, or I have time to extend it.

It's also nice to have easy access to more tools, without having to port them. But it seems, Zenwalk doesn't have a package for mupdf :-/.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 13th February 2011
Oliver_H's Avatar
Oliver_H Oliver_H is offline
Real Name: Oliver Herold
UNIX lover
 
Join Date: May 2008
Location: Germany
Posts: 429
Thanked 26 Times in 22 Posts
Default

Just kidding, sometimes I have to use Linux too.

Btw. building packages for Slackware or derived systems is as easy as configure, make DESTDIR ..., makepkg ..., installpkg ;-)
__________________
use UNIX or die :-)
Reply With Quote
Old 13th February 2011
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 552
Thanked 14 Times in 13 Posts
Default

Thanks to all posters on this thread, I've installed epdfview and mupdf on both platforms and they look useful.

Quote:
Originally Posted by TerryP View Post
But it seems, Zenwalk doesn't have a package for mupdf :-/.
Is there any reason you want a package? I compiled the mupdf source on Slackware without incident. Maybe you'll have the same luck on Zenwalk?
Reply With Quote
Reply

Tags
amd64, evince, pdf, sumatra, wine

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using multiple BSDs: How hav you implemented them? Mr-Biscuit Off-Topic 20 2nd June 2010 03:11 AM
Quality and Backwards Compatibility of GNU Tools ... vermaden Off-Topic 1 12th May 2009 08:25 PM
Comparison of Code Quality JMJ_coder Other BSD and UNIX/UNIX-like 13 11th April 2009 03:40 AM
direct rendering with nvidia card PatrickBaer FreeBSD General 13 2nd October 2008 07:51 AM
OpenSolaris 2008.11 Requirements Document ninjatux Solaris 4 15th August 2008 01:03 AM


All times are GMT. The time now is 05:24 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick