type1afm: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/type1afm - from package: t1lib-apps

You may install the required package with command yum install {package}
Error in other languages:
type1afm: bevel nie gevind nie
type1afm: comandă negăsită
type1afm: comando não encontrado
type1afm: commande introuvable
type1afm: command not found
type1afm: käsku ei ole
type1afm: không tìm thấy lệnh
type1afm: komanda nerasta
type1afm: Kommando nicht gefunden.
type1afm: kommandot finns inte
type1afm: komut yok
type1afm: nie znaleziono polecenia
type1afm: níor aimsíodh an t-ordú
type1afm: no se encontró la orden
type1afm: no s'ha trobat l'ordre
type1afm: opdracht niet gevonden
type1afm: parancs nem található
type1afm: perintah tidak ditemukan
type1afm: príkaz nenájdený
type1afm: příkaz nenalezen
type1afm: команда не найдена
type1afm: командата не е открита
type1afm: 命令找不到
type1afm: コマンドが見つかりません