pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chitgoks <chitg...@gmail.com>
Subject Re: appearance stream ideas for PDTextAnnotationMarkup
Date Sat, 26 Aug 2017 09:16:38 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message