Thread: PDF viewer
View Single Post

   
  #7 (permalink)  
Old 01-16-2008, 11:35 AM
Frank Winkler
 
Posts: n/a
Default Re: PDF viewer

Marc wrote:

>Ah, too bad. I guess you would rather not install all the blastwave
>dependencies if you tried to compile it. What error did you get? I think
>it should work, although you may have to specify
>--with-freetype2-library=/usr/sfw/lib
>--with-freetype2-includes=/usr/sfw/include to the configure script.


That's what I had. Then I compiled freetype (does xpdf try to link against
libfreetype statically or dynamically?). No change, Basically, I still get:

configure: WARNING: requested freetype2 library not found!

no matter if I supply the dir containing the lib or the lib file.

[...]

Silly me!!! It was just a typo: I forgot the trailing "s" in
"--with-freetype2-includes" so it was a matter of headers instead of libs.
Fixed that and it configures and compiles. I suppose it also would with
Sun's FreeType.

xpdf looks nice, significantly different from gpdf (which I thought is a
derivative of xpdf). BUT it still doesn't display most PDFs properly. I
just get unreadable garbage on the screen. The same file with acroread
looks fine.

Regards

fw
Reply With Quote