[ https://issues.apache.org/jira/browse/PDFBOX-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526121#comment-16526121 ]
Emmeran Seehuber commented on PDFBOX-3353: ------------------------------------------ [~tilman] Do you mean something like [https://fontawesome.com/v4.7.0/icon/comment-o] ? You can use my [https://github.com/rototor/pdfbox-graphics2d] to convert a font shape to a PDF command stream. For a quick test I would suggest checking out the sources and patching the fonts you want to use into the PdfBoxGraphics2dTest.testDifferentFonts method and altering the text printed. You should then be able to extract the resulting curves from the PDF file using the PDF Debugger. > 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-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org