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 2018/06/27 16:31: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=16525255#comment-16525255 ] 

Tilman Hausherr edited comment on PDFBOX-3353 at 6/27/18 4:30 PM:
------------------------------------------------------------------

Now most symbols for text annotations are done. I avoided copying Adobe value sequences and either used font shapes or created the shapes myself. Now only two are missing: a key symbol and a speech bubble symbol (see PDFJS-1973-Annotations-pdfcomment.pdf page labeled "5"). There is a key symbol in some of the Noto fonts. But I haven't found a speech bubble symbol.

So what I need is somebody who could create a sequence of lines and Bézier curves for this. BBox sizes: Comment: 18 x 18, Key: 13 x 18. The inner key circle must probably be in the opposite direction than the outer path.


was (Author: tilman):
Now most symbols for text annotations are done. I avoided copying Adobe value sequences and either used font shapes or created the shapes myself. Now only two are missing: a key symbol and a speech bubble symbol. There is a key symbol in some of the Noto fonts. But I haven't found a speech bubble symbol.

So what I need is somebody who could create a sequence of lines and Bézier curves for this. BBox sizes: Comment: 18 x 18, Key: 13 x 18. The inner key circle must probably be in the opposite direction than the outer path.

> 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
>            Priority: Major
>              Labels: Annotations
>         Attachments: AnnotationSample.Standard.pdf, AnnotationSample.Standard.pdf, CTAN-example-Annotations-rot270.pdf, CTAN-example-Annotations.pdf, CloudyBorder.zip, Line-Annotation-OpenArrow-w10-AP.pdf, PDFBOX-2019-Annotations.pdf, PDFBOX-2898-Annotations.pdf, PDFBOX-3353-007071-p1-Annotation-Big-Rectangle.pdf, PDFBOX-3353-084374-p48-Annotation-Big-Rectangle-NoZoom.pdf, PDFBOX-3353-Annotations-AP.pdf, PDFBOX-3353-Annotations-noAP.pdf, PDFBOX-3353-highlight-noAP-001796-p1.pdf, PDFBOX-3353-highlight-noAP.pdf, PDFBOX-4199-StrikeOut-Empty-Surface.pdf, PDFJS-1973-Annotations-pdfcomment.pdf, PDFJS-7115-indirect-rect.pdf, ShowAnnotation-4.java, ShowAnnotation-5.java, ShowAnnotation-6.java, SquareAnnotations.pdf, annots.pdf, gs-bugzilla-693664-AnnotationTest.pdf, line_dimension_appearance_stream-noAP.pdf, line_dimension_appearance_stream.pdf, pdf_commenting_new.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
(v7.6.3#76005)

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