LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-30-2009, 01:06 PM   #1
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 504

Rep: Reputation: Disabled
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.
 
Old 03-30-2009, 04:46 PM   #2
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 504

Original Poster
Rep: Reputation: Disabled
Just solved the problem. I put the following inside ~/.a2ps/a2psrc

Code:
AppendLibraryPath: /usr/share/fonts/Type1
 
Old 08-02-2009, 10:58 AM   #3
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: fedora, slackware, suse
Posts: 447

Rep: Reputation: 31
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
 
Old 08-02-2009, 01:46 PM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,906

Rep: Reputation: Disabled
rg3, was this on -current? The /etc/a2ps.cfg on my 64-current system already has /usr/share/fonts/Type1 in the LibraryPath.
 
Old 08-02-2009, 02:42 PM   #5
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 504

Original Poster
Rep: Reputation: Disabled
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.

Last edited by rg3; 08-02-2009 at 02:43 PM.
 
Old 08-02-2009, 03:11 PM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,906

Rep: Reputation: Disabled
Ohhh, I see the date on the original post now. Sorry for the noise.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quickly find the newest file in a directory yorkshiresteve Linux - General 2 02-15-2009 11:32 AM
In RHEL 4, how to find who deleted particular directory or file dhanju Linux - Server 1 09-25-2008 05:37 AM
c++ - how to find first file in directory in linux system babag Programming 4 05-23-2008 11:16 PM
How do i find the biggest file in my directory? anandv_1234 Linux - Newbie 11 12-21-2007 12:58 PM
find pattern in any file in directory sancho1980 Linux - Newbie 4 12-19-2006 08:14 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration