附言:OSX上的AFM文件夹在哪里



我通过brew install enscript安装了enscript

通常AFM文件夹位于/usr/share/enscript/afm,但没有这样的目录。

/usr/local/Cellar/enscript/$VERSION/share/enscript/afm/

用你的版本文件夹替换$VERSION,在我的情况下,它是1.6.6_1


(如果通过Macports安装(


打开/opt/local/etc/enscript.cfg,这就是告诉enscript东西在哪里。

在我的案例中,通过macports安装enscript后,它会说:

# Lookup path for the AFM files.
AFMPath: /opt/local/share/enscript/afm:/usr/local/lib/ps:/usr/lib/ps

这些目录并不是所有都必须存在,但对我来说是/opt/local/share/enscript/afm

如果您正在查找字体名称(请记住命令行格式为-f <name><size>,如-f Courier5中所示(,请查找

/opt/local/share/enscript/afm/font.map

AvantGarde-Demi                 agd
AvantGarde-DemiOblique          agdo
AvantGarde-Book                 agw
AvantGarde-BookOblique          agwo
Bookman-Demi                    bkd
Bookman-DemiItalic              bkdi
Bookman-Light                   bkl
Bookman-LightItalic             bkli
Courier-Bold                    cob
Courier-BoldOblique             cobo
Courier                         com
Courier-Oblique                 coo
Helvetica                       hv
Helvetica-Bold                  hvb
Helvetica-BoldOblique           hvbo
Helvetica-Condensed             hvc
Helvetica-Condensed-Bold        hvcb
Helvetica-Condensed-BoldObl     hvcbo
Helvetica-Condensed-Oblique     hvcdo
Helvetica-Narrow                hvn
Helvetica-Narrow-Bold           hvnb
Helvetica-Narrow-BoldOblique    hvnbo
Helvetica-Narrow-Oblique        hvno
Helvetica-Oblique               hvo
Matrix                          matrix
NewCenturySchlbk-Bold           ncb
NewCenturySchlbk-BoldItalic     ncbi
NewCenturySchlbk-Italic         nci
NewCenturySchlbk-Roman          ncr
Palatino-Bold                   pob
Palatino-BoldItalic             pobi
Palatino-Italic                 poi
Palatino-Roman                  por
Symbol                          sy
Times-Bold                      tib
Times-BoldItalic                tibi
Times-Italic                    tii
Times-Roman                     tir
ZapfChancery-MediumItalic       zcmi
ZapfDingbats                    zd

相关内容

  • 没有找到相关文章