XPDF 3.0 installation

When installing XPDF 3.0 from andy.qnx.org.ru/packages/XPDF-3.0-x86-public.qpr you also need to create a file called .xpdfrc in home directory with the following text in it:

displayFontT1 Times-Roman /opt/share/ghostscript/fonts/n021003l.pfb
displayFontT1 Times-Italic /opt/share/ghostscript/fonts/n021023l.pfb
displayFontT1 Times-Bold /opt/share/ghostscript/fonts/n021004l.pfb
displayFontT1 Times-BoldItalic /opt/share/ghostscript/fonts/n021024l.pfb
displayFontT1 Helvetica /opt/share/ghostscript/fonts/n019003l.pfb
displayFontT1 Helvetica-Oblique /opt/share/ghostscript/fonts/n019023l.pfb
displayFontT1 Helvetica-Bold /opt/share/ghostscript/fonts/n019004l.pfb
displayFontT1 Helvetica-BoldOblique /opt/share/ghostscript/fonts/n019024l.pfb
displayFontT1 Courier /opt/share/ghostscript/fonts/n022003l.pfb
displayFontT1 Courier-Oblique /opt/share/ghostscript/fonts/n022023l.pfb
displayFontT1 Courier-Bold /opt/share/ghostscript/fonts/n022004l.pfb
displayFontT1 Courier-BoldOblique /opt/share/ghostscript/fonts/n022024l.pfb
displayFontT1 Symbol /opt/share/ghostscript/fonts/s050000l.pfb
displayFontT1 ZapfDingbats /opt/share/ghostscript/fonts/d050000l.pfb

Also, it depends on Lesstif, the T1 and FreeType Libraries and of course XPhoton from the 3rd Party Repository.


I’m trying to use XPDF to open a (.pdf) file. I’ve tried various things such as xpdf file.pdf etc and I get an error message:

Error: Can’t open display: 127.1:0

Any thoughts?


You need “XPhoton”, as mentioned by evanh.

I have a PDF that displayed with the old XPDF from the QNX 6.2.1 Pub CD (used under 6.3). The new XPDF doesn’t display this PDF file any more.

Error: Couldn’t create a font for ‘Times Roman’

Creating the file mentioned above doesn’t help (/opt/share/ doesn’t exist).

Any ideas?

This /opt/share/ghostscript/fonts seems to indicate that you need to install the ghostscript package.