On Sat, 26 Aug 2017 at 4:33 PM Tilman Hausherr <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > > -- Website/Java Games: http://www.chitgoks.com My Blogs: http://tech.chitgoks.com http://wuhtevah.chitgoks.com http://disneyusa.blogspot.com

