Annotations in pdf

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

farhat
User
Posts: 1
Joined: Mon Aug 11, 2008 2:02 pm

Annotations in pdf

Post by farhat »

Hi,
I have a pdf file with annotation objects in it. The problem is that the xchange viewer does not show the title of the annotation.
I couldn't attach the pdf file so I have just copied the annotation object below

9 0 obj
<<
/Type /Annot
/Subtype /Ink
/Rect [48.780 64.836 84.780 80.136]
/T /D1#20
/Contents (Part Name:1N459
Value:1N459
)
/Open false
/InkList [
[59.580 80.136 59.580 72.936]
[59.580 72.936 73.980 72.936]
[73.980 72.936 73.980 80.136]
[73.980 80.136 59.580 80.136]
[70.380 80.136 70.380 72.936]
[70.380 80.136 70.380 72.936]
[55.980 76.536 59.580 76.536]
[59.580 80.136 59.580 72.936]
[59.580 72.936 73.980 72.936]
[73.980 72.936 73.980 80.136]
[73.980 80.136 59.580 80.136]
[55.980 76.536 59.580 76.536]
[73.980 76.536 77.580 76.536]
[73.980 76.536 77.580 76.536]
[48.780 80.136 48.780 72.936]
[48.780 72.936 84.780 72.936]
[84.780 72.936 84.780 80.136]
[84.780 80.136 48.780 80.136]
[48.780 80.136 48.780 72.936]
[48.780 72.936 84.780 72.936]
[84.780 72.936 84.780 80.136]
[84.780 80.136 48.780 80.136]
[55.980 80.136 55.980 72.936]
[55.980 72.936 57.307 70.017]
[57.307 70.017 59.404 67.591]
[59.404 67.591 62.100 65.855]
[62.100 65.855 65.177 64.951]
[65.177 64.951 68.383 64.951]
[68.383 64.951 71.460 65.855]
[71.460 65.855 74.156 67.591]
[74.156 67.591 76.253 70.017]
[76.253 70.017 77.580 72.936]
[77.580 72.936 77.580 72.936]
[77.580 72.936 77.580 80.136]
[77.580 80.136 55.980 80.136]
]
/C [0.00 1.00 0.00]
/BS <<
/W 0
/S /D
/D [0 1000]
>>
>>

endobj
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: Annotations in pdf

Post by Ivan - Tracker Software »

If you will read PDF Specification carefuly, you will note that type of /T entry into annotation dictionary should be string, not a name.
I know that Adobe handles name here too, but I don't think we need to make the similar 'workarrounds' as Adobe.
On my opinion, such Adobe's 'workarrounds' allows developers to produce incorrect PDF creators.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.