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 ideas for PDTextAnnotationMarkup
Date Sat, 26 Aug 2017 11:59:17 GMT
Am 26.08.2017 um 13:08 schrieb chitgoks:
> tilman would it be alright to open an issue ticket in jira for this?

No, there is one for it already - the one you wrote to. Besides, just 
opening a ticket doesn't mean something will be done.

It turned out that I had some incomplete code for that, I just uploaded 
it. Enjoy, and don't hesitate to point out any problems.

Tilman


> would like to track its status in case you guys decide to make code for an
> appearance stream for markup.
>
> this is the only kind of well known annotatation type left that does not
> show because it has no appearance. the rest you guys have provided sample
> code and are very much appreciated.
>
>
> On Sat, Aug 26, 2017 at 5:16 PM, chitgoks <chitgoks@gmail.com> wrote:
>
>>
>>
>> On Sat, 26 Aug 2017 at 4:33 PM Tilman Hausherr <THausherr@t-online.de>
>> wrote:
>>
>>> Am 26.08.2017 um 07:09 schrieb chitgoks:
>>>> so i tried to create an appearance stream for a highlight text
>>>>
>>>> drawing shapes in content stream does nothing
>>> Maybe you didn't set the color... or didn't stroke... or had the path
>>> outside of the bbox.
>>>
>> the code i used is the same when creating filled rectangles
>>
>>
>>
>>>> upon inspecting the pdf after saving it in acrobat, it has an extra
>>>> appearance stream dictionary containing an xform
>>>>
>>>> but i looked at xform and there does not seem to be any way to draw or
>>> fill
>>>> shapes in that object
>>>>
>>>> images drawn to xform yes but shapes? has anybody tried this?
>>>>
>>>>
>>> Yes of course this can be done. Unless you mean the PDFBox API, that is
>>> indeed missing. You'll have to do it the hard way.
>>>
>>> Tilman
>>>
>> hi tilman ok. since drawing filled rectangles based on the quad points
>> show nothing, i figure that it needs an xform or something instead of
>> drawing in content stream after i checked the contents created by acrobat
>>
>>
>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>>
>>> --
>> Website/Java Games: http://www.chitgoks.com
>> My Blogs:
>> http://tech.chitgoks.com
>> http://wuhtevah.chitgoks.com
>> http://disneyusa.blogspot.com
>>


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


Mime
View raw message