LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   a2ps: cannot find file `c0419bt_.afm': No such file or directory (https://www.linuxquestions.org/questions/slackware-14/a2ps-cannot-find-file-%60c0419bt_-afm%27-no-such-file-or-directory-715538/)

rg3 03-30-2009 01:06 PM

a2ps: cannot find file `c0419bt_.afm': No such file or directory
 
I got that message when trying to run a2ps to convert a plaintext file to postscript. The file seems to be present at /usr/share/fonts/Type1/c0419bt_.afm, but a2ps still doesn't work. I have tried reinstalling a2ps just in case my installation was faulty, but it didn't fix the problem.

rg3 03-30-2009 04:46 PM

Just solved the problem. I put the following inside ~/.a2ps/a2psrc

Code:

AppendLibraryPath: /usr/share/fonts/Type1

fsbooks 08-02-2009 10:58 AM

This can also be added to /etc/a2ps-site.cfg (or /etc/a2ps.cfg, although this would likely be overwritten with a reinstall).

NOTE: I'm using slamd64 with:
a2ps-4.14-x86_64_slamd64-1
font-bitstream-type1-1.0.0-noarch_slamd64-1:usr/share/fonts/Type1/c0419bt_.afm

Chris

rworkman 08-02-2009 01:46 PM

rg3, was this on -current? The /etc/a2ps.cfg on my 64-current system already has /usr/share/fonts/Type1 in the LibraryPath.

rg3 08-02-2009 02:42 PM

Yes, this was on -current and was fixed some days later in the next a2ps upgrade. Editing the user config file is no longer required, as the system config file has all the needed lines now.

rworkman 08-02-2009 03:11 PM

Ohhh, I see the date on the original post now. Sorry for the noise.


All times are GMT -5. The time now is 10:39 AM.