【问题标题】:Adding XMP Meta Data in Postscript在 Postscript 中添加 XMP 元数据
【发布时间】:2015-07-31 11:22:22
【问题描述】:

我在 Postscript 文件中添加 XMP 元数据,但在使用 Adob​​e Distiller 将其转换为 PDF 时遇到问题。

这是我的 PS 文件

/MainFont
/Helvetica-Bold findfont 15 scalefont def

/SloganFont
/Helvetica-Oblique findfont 7 scalefont def

/OwnerFont
/Helvetica findfont 10 scalefont def

/CardOutline
{ newpath
90 90 moveto
0 144 rlineto
252 0 rlineto
0 -144 rlineto
closepath
.5 setlinewidth
stroke } def


/doBorder
{
99 99 moveto
0 126 rlineto
234 0 rlineto
0 -126 rlineto
closepath
2 setlinewidth
stroke
} def

/Diamond
{
newpath
207 216 moveto
36 -54 rlineto
-36 -54 rlineto
-36 54 rlineto
closepath
.8 setgray fill
} def

/doText
{
0 setgray 105 200 moveto
MainFont setfont
(Diamond Cafe) show

105 188 moveto
SloganFont setfont
("The Club of Lonely Hearts") show
265 126 moveto
OwnerFont setfont
(Sam Spade) show
270 111 moveto
(Owner) show


}def


CardOutline
doBorder

doText
Diamond
showpage

/Creator (FrameMaker 6.0)
/CreationDate (D:20020214144924)
/ModDate (D:20020215142701)
/Author(John Doe)
/Title (Processing XMP Data in EPS Files)
/Subject (XMP)
/Keywords (XMP, pdfmark)
/DOCINFO pdfmark

在这个后记文件的末尾我附上了 XMP 元数据,所以我希望当这个后记生成 PDF 时,它会在 XMP 中显示元数据。

【问题讨论】:

  • 你说你有问题但忘了说是什么问题。
  • XMP specification的第5章。
  • @Jongware 我说我希望这意味着我面临输出问题
  • @lhf 我读过但没明白,因为我是 PS 新手。
  • 如果你需要帮助,你必须准确地告诉人们你在做什么,什么是行不通的。

标签: pdf postscript xmp


【解决方案1】:

pdfmark 需要在数据前加一个标记,所以在/Creator 前添加[

【讨论】:

  • 我做到了,但我不确定如何正确地做,请在此处提供 ps 文件,谢谢
猜你喜欢
  • 1970-01-01
  • 2012-10-29
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多