pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chitgoks <chitg...@gmail.com>
Subject Re: drawing arrow in content stream
Date Sat, 19 Aug 2017 01:31:35 GMT
i hope you guys can make this work

this would flat out beat out other libraries.



On Sat, Aug 19, 2017 at 12:40 AM, Maruan Sahyoun <sahyoun@fileaffairs.de>
wrote:

>
> > Am 18.08.2017 um 18:22 schrieb Tilman Hausherr <THausherr@t-online.de>:
> >
> > Am 18.08.2017 um 06:49 schrieb chitgoks:
> >> Hi tilman
> >>
> >> http://imgur.com/a/Dp0tU
> >
> > You can confirm what Maruan wrote by doing this: take an existing PDF
> file and open it with Adobe Reader. It allows to make annotations. So make
> an arrow annotation from visible point 1 to visible point 2. Then save that
> file. Then open that file with PDFBox and look at the annotation
> dictionary. Its rectangle will be wider than the rectangle that would be
> made from point 1 to point 2.
> >
> > No idea why Adobe does this.
>
> it's common that there is an 'outer box', padding and a 'content area'.
> That's consistent e.g. also done when looking at fields. It makes sense as
> an annotation could also have a border around it which would be drawn from
> the 'outer' box to the inside. So the padding helps the content to stay
> away from it.
>
> Although there isn't a box model similar to HTML/CSS - at least not
> specified as part of the spec - for appearance streams there is one in
> practice. It needs some reengineering to get to the logic behind it (we did
> it for interactive forms).
>
> BR
> Maruan
>
> >
> > Tilman
> >
> >
> >
> >
> >>
> >>
> >>
> >> On Fri, Aug 18, 2017 at 12:46 PM, Tilman Hausherr <
> THausherr@t-online.de>
> >> wrote:
> >>
> >>> Am 18.08.2017 um 03:55 schrieb chitgoks:
> >>>
> >>>> please see attached
> >>>>
> >>> Please upload to a sharehoster and post the link.
> >>>
> >>>
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> >>> For additional commands, e-mail: users-help@pdfbox.apache.org
> >>>
> >>>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> > For additional commands, e-mail: users-help@pdfbox.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>

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