我使用的是PostScript设备,像这样(简化)生成中的R每股收益数字: require(extrafont)
#font_import() # I did it only once when installing new fonts
# see http://www.fromthebottomoftheheap.net/2013/09/09/preparing-figures-for-pl
在How can I remove all images from a PDF?中,Kurt Pfeifle给出了一段PostScript代码(由Chris Liddell提供),使用GhostScript过滤掉PDF中的所有位图。 这件作品像一个魅力;不过,我也对删除以及PDF中的位图以及不重新压缩位图的所有任务感兴趣。或者,最终,将矢量和位图“图层”分开。 (我知道,这不是PDF术语中的一个图