You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/10/11 08:29: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=16199958#comment-16199958 ] 

Tilman Hausherr edited comment on PDFBOX-3353 at 10/11/17 8:28 AM:
-------------------------------------------------------------------

No, too difficult... needs more math knowledge. Even something seemingly simple as just drawing a single arc is based on a publication of a university math professor, see 
https://stackoverflow.com/questions/42648299/not-able-to-draw-multiple-semi-circles-using-pdpagecontentstream
and follow the links. Drawing the corners of a cloud polygon is where it gets really tricky.


was (Author: tilman):
No, too difficult... needs more math knowledge. Even something seemingly simple as just drawing a single arc is based on a publication of a university math professor, see 
https://stackoverflow.com/questions/42648299/not-able-to-draw-multiple-semi-circles-using-pdpagecontentstream
and follows the links. Drawing the corners is where it gets really tricky.

> 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
>            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