Skip to main content
New Participant
December 21, 2020
Answered

add annotation highlight to existing pdf file

  • December 21, 2020
  • 1 reply
  • 378 views

Hi Everyone,

I am trying to highlight text inside existing PDF file this script, but it doesn't work.

I tried many options for annotation that i read in pdf reference 1.7 but none works.
Maybe there is something wrong with my script, idk.

 

Appreciated any clue/ help.

[
/SrcPg 7
/Rect [335 655 501 663]
/Border [0 0 0]
/Subtype /Highlight
/Color [1 1 0.75]
/ANN pdfmark

 

    This topic has been closed for replies.
    Correct answer Test Screen Name

    So, no Adobe apps at all. You might check with GhostScript support whether it is supposed to do what you are trying to achieve, and support for the viewer as to whether it is supposed to display what you are trying to add.

    1 reply

    Brainiac
    December 21, 2020

    That's a fragment of PostScript but what are you doing with it, and which Adobe app and version is processing it? What is the result you expect, and the result you get?

    amera5EC5Author
    New Participant
    December 21, 2020

    I am on freebsd and i use ghostscript to run the script and mupdf as pdf viewer.

    this is what i expect

    i want to highlight portion of text, e.g "Calculated dew point temperature"

    Test Screen NameCorrect answer
    Brainiac
    December 21, 2020

    So, no Adobe apps at all. You might check with GhostScript support whether it is supposed to do what you are trying to achieve, and support for the viewer as to whether it is supposed to display what you are trying to add.