小编Ala*_*lan的帖子

使用PostScript创建PDF超链接

基本上我试图通过修改postscript将超链接添加到PDF中.

这是adobe为通过postscript生成链接而提供的代码:

[/Rect [ 0 425 295 445 ] /Action << /Subtype /URI /URI (http://www.adobe.com/) >> /Border [ 0 0 2 ] /Color [ .7 0 0 ] /Subtype /Link ANN pdfmark

这是我试图修改的代码示例:

%PDF-1.4
%âãÏÓ
6 0 obj
>stream
    1 w
    [] 0 d
    0.0 g
    36 775 m
    576 775 l
    s
endstream
endobj
7 0 obj
>stream
  BT
     36 777 Td
    0 Tr
    /F1 16 Tf
    0.0 g
    (Test PDF) Tj
  ET
endstream
endobj
1 0 obj
>/ProcSet[/PDF] …

pdf postscript hyperlink ghostscript

3
推荐指数
1
解决办法
4681
查看次数

标签 统计

ghostscript ×1

hyperlink ×1

pdf ×1

postscript ×1