【发布时间】:2021-03-01 13:09:39
【问题描述】:
我通过 Ghostscript 将 PostScript 文件转换为 PDF。我在嵌入/安装 Type 1 字体时遇到问题。
- 为了安装 Type 1 Font,我可以将 PFA 文件路径添加到 Ghostscript Fontmap,它应该在
/usr/share/ghostscript/version/FONTMAP,但我在 /usr/share/ghostscript/9.50` 或 Ubuntu 20.04 上的类似文件夹中没有这样的文件. - 如何将字体文件直接包含在脚本中:
代替
/Times-Bold findfont 10 scalefont setfont
类似
(/home/font.pfa) 10 scalefont setfont
- PostScript/Ghostscript 是否使用 AFM 文件数据或读取字形宽度或仅从 PFA 文件中提供的字形结构中读取?
【问题讨论】: