簡體   English   中英

我們可以使用 Ghostscript 將包含嵌入式 Fonts 的 PDF 轉換為 NonEmbedded(標准字體)PDF 文檔嗎?

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM