[ https://issues.apache.org/jira/browse/PDFBOX-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322578#comment-16322578 ]
Tilman Hausherr commented on PDFBOX-3353: ----------------------------------------- So what you're really asking is how to place annotations in a similar way if the page is rotated. I had such a problem with signatures, {{PDVisibleSignDesigner.adjustForRotation()}} does this (PDFBOX-3671). However I don't know if this can easily be used for you because the code is not "general" enough. So I did it again (the trick is to move the cursor on the PDFDebugger rendering and see the status line coordinates changing), because the existing visual signature code is too complex, see recent code in PDFBOX-3198. The new code is simpler but didn't support rotated pages, and I will soon add some that does. If you wan to run that code, you need to use the keystore that is in "examples\src\test\resources\org\apache\pdfbox\examples\signature". You also need a small image. > 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