gpt4 book ai didi

pdf - 如何解读 "marked-content"运算符 MP、PD、BMC、BDC 和 EMC

转载 作者:行者123 更新时间:2023-12-04 18:23:30 25 4
gpt4 key购买 nike

我正在使用 PDFBox lib 来呈现 PDF 的内容。有一些限制(不支持 Type1 字体,不支持 CMYK 图像,不支持运算符 MP、PD、BMC、BDC 和 EMC)。

MP、PD、BMC、BDC、EMC这几个算子应该怎么理解?

更新:

operator: BDC args: [COSName{EmbeddedDocument}, COSName{MC1}]
operator: BDC args: [COSName{Document}, COSName{MC2}]
operator: gs args: [COSName{GS9}]
operator: cs args: [COSName{Pattern}]
operator: scn args: [COSName{P1}]
operator: re args: [COSInt{66}, COSFloat{570.302}, COSFloat{432.5}, COSFloat{23.278}]
operator: f args: [] // fill path
operator: k args: [COSInt{0}, COSInt{0}, COSInt{0}, COSInt{1}] // black color
operator: m args: [COSFloat{92.458}, COSFloat{559.601}] // move
operator: l args: [COSFloat{93.769}, COSFloat{559.601}]
operator: l args: [COSFloat{94.699}, COSFloat{562.331}]
....
....
operator: l args: [COSFloat{88.003}, COSFloat{582.385}]
operator: l args: [COSFloat{92.467}, COSFloat{576.433}]
operator: l args: [COSFloat{88.196}, COSFloat{571.038}]
operator: f* args: []
operator: gs args: [COSName{GS10}]
operator: w args: [COSFloat{0.216}]
operator: M args: [COSFloat{2.613}]
operator: m args: [COSFloat{88.196}, COSFloat{571.038}]
operator: l args: [COSFloat{92.659}, COSFloat{571.038}] // add line to path
operator: l args: [COSFloat{94.624}, COSFloat{574.24}]
operator: l args: [COSFloat{96.545}, COSFloat{571.038}]
operator: l args: [COSFloat{102.076}, COSFloat{571.038}]
operator: l args: [COSFloat{97.507}, COSFloat{577.119}]
operator: l args: [COSFloat{101.649}, COSFloat{582.385}]
operator: l args: [COSFloat{97.186}, COSFloat{582.385}]
operator: l args: [COSFloat{95.328}, COSFloat{579.462}]
operator: l args: [COSFloat{93.513}, COSFloat{582.385}]
operator: l args: [COSFloat{88.003}, COSFloat{582.385}]
operator: l args: [COSFloat{92.467}, COSFloat{576.433}]
operator: l args: [COSFloat{88.196}, COSFloat{571.038}]
operator: h args: []
operator: S args: [] // stroke
operator: EMC args: []
operator: EMC args: []

最佳答案

你看过PDF spec ?它定义了它们的用法以及它们可以使用的键(如/ActualText)。

关于pdf - 如何解读 "marked-content"运算符 MP、PD、BMC、BDC 和 EMC,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10183575/

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