[ 
https://issues.apache.org/jira/browse/PDFBOX-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346477#comment-16346477
 ] 

Maruan Sahyoun commented on PDFBOX-4089:
----------------------------------------

Unfortunately this doesn't seem to be always the case. Removing the /AP from 
{{AnnotationTypes.pdf}} in {{test/resources/...}} Adobe Reader retains the 
/Rect entries and does the padding from that. Need to further investigate. 

> Adjust box sizing calculation for Square annotation with empty /AP entry
> ------------------------------------------------------------------------
>
>                 Key: PDFBOX-4089
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4089
>             Project: PDFBox
>          Issue Type: Sub-task
>          Components: PDModel, Rendering
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>            Priority: Major
>              Labels: Annotations
>             Fix For: 3.0.0 PDFBox
>
>
> If a square annotation doesn't have an {{/AP}} entry Adobe Reader calculates 
> the boxes border so that the outer dimension matches the annotations 
> {{/Rect}} entry and also enlarges the {{/Rect}} as to add padding to the 
> border.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to