pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: appearance stream of annotation is 2.0.7
Date Thu, 17 Aug 2017 15:39:21 GMT
Am 17.08.2017 um 11:52 schrieb chitgoks:
> i was previously using 2.0.4 and gave 2.0.7 a try
>
> there are vast improvements (for me) when it comes to annotations without
> appearance streams getting generated by default.
>
> i can confirm the following works in chrome viewer
>
> -square stroke
> -square fill (except it comes with a stroke, either stroke color should
> match fill if none is specified)
> -circle stroke
> -circle fill (same result as in square fill but at least it shows)
> -inklist
> -text markup (highlight, underline, strike-through) - buggy though. only
> the first or last rect is marked
> -comment sticky note
>
> pdf.js
>
> none -
>
> different viewers, different implementation i guess?
>
> while i have made my own appearance streams for a number of my supported
> annotations, the text markup is pretty interesting because i have a hard
> time trying to draw them in content stream.
>
> can anyone please guide me which class does the drawing of text markup
> appearance stream? i would like to take a look at the source code.

IIRC it isn't done at all yet. The things being done can be found in
org.apache.pdfbox.pdmodel.interactive.annotation.handlers .

Tilman


>
> this is the last hurdle i have.
>
> and the other one is drawing an arrow head similar to line annotation open
> arrow
>
> that is my input
>
> thank you
>
> mark
>


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


Mime
View raw message