作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
运行 embedFonts
在我创建的某些 EPS 文件中,我收到一条错误消息:
> embedFonts("foo.ps")
Unknown device: pswrite
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
Error in embedFonts("foo.ps") :
status 1 in running command 'gs -dNOPAUSE -dBATCH -q -dAutoRotatePages=/None -sDEVICE=pswrite -sOutputFile=/tmp/Rtmp3Lv0dj/Rembed2cd86df573a1 '-sFONTPATH=' 'foo.ps''
最佳答案
这是因为该设备名为 ps2write
这几天。已删除对编写后脚本级别 1 的支持。下一个 R 版本(我们目前是 3.1.0,所以这可能是大约 3.2)将包含一个修复。从更改列表中引用:
embedFonts()
now defaults toformat = "ps2write"
for.ps
and.eps
files. This is available in Ghostscript 9.x (since 2010) whereas the previous default,format = "pswrite"
, was removed in 9.10.
format = "ps2write"
到
embedFonts
调用。
关于r - embedFonts 提示 “Unknown device: pswrite”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24546677/
运行 embedFonts在我创建的某些 EPS 文件中,我收到一条错误消息: > embedFonts("foo.ps") Unknown device: pswrite Unrecoverable
我是一名优秀的程序员,十分优秀!