View Full Version : xpdf problem...


ShErbO
I've installed xpdf & the required t1lib, however SOME pdf files don't display the text correctly (they just place lines instead)... Any ideas ??

Attached is the screenshot...

habdin
Salamo 3alaikom,

This is a vague problem. No distribution mentioned No X version mentioned. This seems however to be a fonts problem. Checking Xpdf docs could be helpful. I will check the docs and feedback ISA.

Salam.

habdin
Salamo 3alaikom,

Quoted from Xpdf official site:


Using t1lib to render the Base- 14fonts

PDF files are allowed to use the Base- 14fonts (Times, Helvetica, and Courier, in regular, bold, and bold-italic; Symbol; and Zapf Dingbats) without embedding them. In order to have xpdf use t1lib to render these (which will make them look much nicer), you need to install these fonts and tell xpdf where to find them.

Ghostscript comes with a set of free, high-quality Type 1 fonts, donated by URW++ Design and Development Incorporated. The xpdfrc settings needed for these fonts are:

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

You will need to replace '/usr/local/share/ghostscript/fonts' with the appropriate path on your system.


Salam.