首页 > 解决方案 > 将 PS 文件(后记)转换为 PDF 时出现 GhostPDL 字体路径错误

问题描述

我从可从https://www.ghostscript.com/download/gpdldnld.html下载的源代码构建 gpdlwin64.exe

Command Used : gpdlwin64.exe  -sOutputFile="test.pdf" -sDEVICE=pdfwrite test.ps

Error output : 
Loading NimbusMonoPS-Regular font from %rom%Resource/Font/NimbusMonoPS-Regular... Can't find font with non-string name: --nostringval--.
Can't find (or can't open) font file %rom%Resource/Font/%rom%Resource/F.
Can't find font with non-string name: --nostringval--.
Querying operating system for font files..

在源目录中,我可以找到字体Resource/Font/NimbusMonoPS-Regular的文件,但是实用程序不理解它。我也尝试为%rom%设置环境变量。仍然遇到同样的问题。

标签: fontspdf-generationghostscriptpostscript

解决方案


推荐阅读