[英]can we convert PDF containing Embedded Fonts to NonEmbedded(standard fonts) PDF document using Ghostscript?
我已經嘗試了以下命令
$ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf inputwithembeddedType1.PDF
$ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dEmbedAllFonts=false -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf inputwithembeddedType1.PDF
在第一種情況下,output 對 AdobeReader 是正確的,但它仍然是嵌入式字體,因此無法解析到我的應用程序中,因為不支持嵌入式 PDF Z980D14C0C85495B4129A9134658E。
第二個命令有效並創建了一個 PDF 文件,但無法在 AdobeReader 和我的應用程序中打開。
任何幫助將非常感激。 非常感謝 !
謝謝,我通過使用dNoOutputFonts進行了一些研究得到了答案。 這對我來說效果很好
ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dNoOutputFonts -dQUIET -dBATCH -sOutputFile=output.pdf inputwithembeddedType1.PDF
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.