相关疑难解决方法(0)

如何让Ghostscript在PDF中使用嵌入字体

gs -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dBATCH \
   -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf
Run Code Online (Sandbox Code Playgroud)

我正在使用(尝试无论如何)使用Ghostscript来减少我的PDF文件大小.上面的命令看起来像它的工作,它大大减少了文件大小,但随后几个字段出现乱码.至于我可以追踪它,它正在进行字体替换.IE,同一文本=相同的乱码文本.

当它到达我时,字体嵌入在PDF中.另外,我试图将所有字体添加到Fontmap中.

任何想法,理想情况下我希望它使用嵌入式字体,而不必更新gs系统字体/编辑字体图等.我正在使用Ubuntu 9.10和嵌入的字体是Windows字体,Arial/TimesNewRoman.

谢谢.

pdf ubuntu fonts postscript ghostscript

8
推荐指数
1
解决办法
2万
查看次数

标签 统计

fonts ×1

ghostscript ×1

pdf ×1

postscript ×1

ubuntu ×1