fontc: 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/fontc - from package: ncl

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/fontc - from package: ncl-ncarg

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