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

Maruan Sahyoun commented on PDFBOX-3353:
----------------------------------------

[~chitgoks] I'm not sure I understand what you are trying to achieve. Would you 
like to have the annotation 'respect' the page rotation so that if the page is 
rotated let's say by 90 degrees to the right an annotation which has been place 
in the upper left corner with it's width going from left to right is now placed 
in the upper right corner with it's width going from top to bottom?

If you are patient I could come up with a little sample over the weekend to 
place a rectangular annotation with some text within it in the upper right 
corner of an A4 portrait page and the same annotation rotated together with the 
page.  If there is some other "quick start" you'd like to see please let me 
know and I can see if I'm able to help you with that.

> Create appearance streams for annotations
> -----------------------------------------
>
>                 Key: PDFBOX-3353
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3353
>             Project: PDFBox
>          Issue Type: Task
>          Components: PDModel, Rendering
>    Affects Versions: 1.8.12, 2.0.0, 2.0.1, 2.0.2, 3.0.0 PDFBox
>            Reporter: Tilman Hausherr
>              Labels: Annotations
>         Attachments: PDFBOX-3353-highlight-noAP-001796-p1.pdf, 
> PDFBOX-3353-highlight-noAP.pdf, ShowAnnotation-4.java, SquareAnnotations.pdf, 
> line_dimension_appearance_stream-noAP.pdf, 
> line_dimension_appearance_stream.pdf, result-NoAP.pdf, result.pdf, 
> result_layout.png, showAnnotation.java, text_markup_ap_test.pdf
>
>
> Create appearance streams for annotations when missing.
> I'll start by replacing current code for Ink and Link annotations.
> Good example PDFs:
> http://www.pdfill.com/example/pdf_commenting_new.pdf
> https://github.com/mozilla/pdf.js/issues/6810



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to