You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "chitgoks (JIRA)" <ji...@apache.org> on 2018/01/11 06:56:00 UTC
[jira] [Comment Edited] (PDFBOX-3353) Create appearance streams for
annotations
[ https://issues.apache.org/jira/browse/PDFBOX-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16321762#comment-16321762 ]
chitgoks edited comment on PDFBOX-3353 at 1/11/18 6:55 AM:
-----------------------------------------------------------
Hi tilman, the annotations i create do not have the NoRotate flag. however, in landscape 270 degrees, the placements of the annotations are positioned like the pdf page is vertical
[link title|https://imgur.com/a/QY6KO]
maruan's suggestion is to recalculate the coordinates. i did just that. but the problem is within the appearance drawing. i didnt have luck even if i rotated the appearance so i could draw normally using same coordinates.
was (Author: chitgoks):
Hi tilman, the annotations i create do not have the NoRotate flag. however, in landscape 270 degrees, the placements of the annotations are positioned like the pdf page is vertical
!https://imgur.com/a/QY6KO!
maruan's suggestion is to recalculate the coordinates. i did just that. but the problem is within the appearance drawing. i didnt have luck even if i rotated the appearance so i could draw normally using same coordinates.
> 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, 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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org