LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   xpdf error (https://www.linuxquestions.org/questions/slackware-14/xpdf-error-273234/)

anadyr 01-03-2005 05:30 AM

xpdf error
 
I installed slack10, and now when I run xpdf with this vewwy important pdf I want to read it says:
Error: Couldn't create a font for 'Helvetica-Bold'
Error: Couldn't create a font for 'Helvetica'

I haven.t had this problem with slack9.1... How can I fix this? fyi I have the font Helvetica installed, because I can use it in openOffice...

cheers
Rogier

anadyr 01-03-2005 05:51 AM

fc-list | grep Helvetica
doesnt give any results...

so the new question is, how do I get the Helvetica fonts into the fc-list?
(solved)

I got this far now:

bash-2.05b$ fc-list | grep Helvetica
Helvetica:style=Bold Italic
Helvetica:style=Italic
Helvetica:style=Bold
Helvetica:style=Regular

but still when I try to run xpdf it gives the same error... s whole bunch of

Error: Couldn't find a font for 'Helvetica'
Error: Couldn't find a font for 'Helvetica'
Error: Couldn't find a font for 'Helvetica'
Error: Couldn't find a font for 'Helvetica'
Error: Couldn't find a font for 'Helvetica'
Error: Couldn't find a font for 'Helvetica'
Error: Couldn't find a font for 'Helvetica'

Cedrik 01-03-2005 06:47 AM

Try create or edit ~/.Xresources and add this line :
Xpdf*fontList: -*-helvetica-*-r-*-*-12-*-*-*-*-*-iso8859-1

Save and run :
xrdb -merge ~/.Xresources

see if it works

anadyr 01-03-2005 12:25 PM

doesn.t work, still the same error... what could this be...
fc-list lists helvetica fonts, and I can select it with xfontsel... and the strangest thing is that I could use it in slack 9.1

Cedrik 01-03-2005 02:21 PM

try to install this package :
gnu-gs-fonts-6.0-noarch-1

http://www.slackware.com/pb/searchfi...003l.pfb&w=off

anadyr 01-03-2005 04:00 PM

yes, that did the job! thank a lot!

I still find it very strange that I need this package, and I haven.t found anything on the web about it...

JohnKFT 01-03-2005 04:08 PM

I run xpdf version 3.0 fine in Slack 10. Have a look in $HOME/.xpdfrc - there is some stuff in there about mapping font names to fonts, which may well be what you need.

anadyr 01-04-2005 04:27 AM

after I did a google search on n019003l.pfb I found this website which explains the problem:
http://www.foolabs.com/xpdf/problems.html


All times are GMT -5. The time now is 04:26 AM.