native xpdf vs static xpdf for linux (couldn't create a font for...)

horio shoichi bugsgrief at bugsgrief.net
Fri Jun 11 18:14:35 PDT 2004


On Fri, 11 Jun 2004 23:08:46 +0300
Paulius Bulotas <paulius at devnull.lt> wrote:
> Hello,
> 
> I would like to use native xpdf (compiled from ports) for viewing pdf
> files, but it's almost impossible,, since for many pdf's it can't find
> used fonts and of course doesn't show any text.
> The question would be, why? ;)
> BTW, statically linked xpdf for linux which I downloaded from foolabs.com
> (ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.00-linux.tar.gz) shows everything.
> 
> Everything looks like:
> $ xpdf ~/sample.pdf
> Error: Couldn't create a font for 'BAAAAA+TimesNewRomanPSMT'
> $ ~/tmp/xpdf-3.00-linux/xpdf ~/sample.pdf
> $
> 
> I've put this pdf (generated with StarOffice) at:
> http://devnull.lt/files/sample.pdf
> 
> $ ldd `which xpdf`
> /usr/X11R6/bin/xpdf:
>    libt1.so.5 => /usr/local/lib/libt1.so.5 (0x28123000)
>    libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28173000)
>    libXm.so.3 => /usr/X11R6/lib/libXm.so.3 (0x281df000)
>    libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28429000)
>    libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x2847a000)
>    libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28482000)
>    libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x28491000)
>    libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x284a0000)
>    libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x284a9000)
>    libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x284c0000)
>    libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x28588000)
>    libm.so.2 => /lib/libm.so.2 (0x28644000)
>    libc.so.5 => /lib/libc.so.5 (0x2865d000)
>    libz.so.2 => /lib/libz.so.2 (0x2873e000)
>    libXau.so.0 => /usr/X11R6/lib/libXau.so.0 (0x2874c000)
> 
> I'm running 5.2-CURRENT, if this means something ;)
> 
> TIA
> Paulius
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 

What is your /usr/X11R6/etc/xpdfrc like ?

It seems a lot of lines necessary for font handling are commented out
in default install.



horio shoichi



More information about the freebsd-questions mailing list