gpt4 book ai didi

pdf - 如何使用 Pdfmark 和 Ghostscript 应用简单格式化的文本图章

转载 作者:行者123 更新时间:2023-12-02 07:03:09 25 4
gpt4 key购买 nike

我已经成功地使用 Ghostscript 和 Pdfmarks 来应用笔记、徒手画(Type Ink)、突出显示等。现在我想对文本图章(而不是位图)执行相同的操作,但不知道如何操作。

查看未压缩的图章文件(感谢 pdftk 的解压缩和 Acrobat Professional 的图章),我发现我的自定义文本图章最终作为图章注释的外观流中引用的 XObject。我想,很复杂。

这是我的问题:是否可以使用简单的 Pdfmark 文件应用文本图章(例如,页面中心 45 度以下的文本 DRAFT),而无需使用外观流、XObject 等?如果是这样,怎么办?

最佳答案

如果您不提供注释的外观流,那么您完全依赖于 PDF 使用者选择为其绘制的任何内容。那可能没什么。

但是,PDF 1.7 引用手册在“橡皮图章注释”下说(第 635 页):

Name    name          (Optional) The name of an icon to be used in displaying the annotation. Viewer applications should provide predefined icon appearances for at least the following standard names:
Approved Experimental NotApproved
AsIs Expired NotForPublicRelease
Confidential Final Sold
Departmental ForComment TopSecret
Draft ForPublicRelease

Additional names may be supported as well. Default value: Draft.
Note: The annotation dictionary’s AP entry, if present, takes precedence over the Name entry; see Table 8.15 on page 606 and Section 8.4.4, “Appearance Streams.”

所以,是的,您应该能够成功使用“草稿”作为注释,而无需提供外观流,并且您可以使用所需的“矩形”条目将其在页面上居中。不过,我不太确定是否将其旋转 45 度,注释没有矩阵条目,因此我不相信您可以在不指定外观流的情况下可靠地执行此操作。

关于pdf - 如何使用 Pdfmark 和 Ghostscript 应用简单格式化的文本图章,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12466309/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com