pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale King <dalewk...@gmail.com>
Subject Re: Imposition with annotations
Date Mon, 04 Dec 2017 18:57:40 GMT
OK that is really odd. I am on Mac and in preview the blue rectangle is not
the same size as yours, but when I click on it it changes to a dashed black
rectangle bordering the enter page and the blue goes away.

Sorry, I don't speak PDF content streams to know what the content stream is
telling me.

On Mon, Dec 4, 2017 at 1:34 PM, Tilman Hausherr <THausherr@t-online.de>
wrote:

> Am 04.12.2017 um 18:42 schrieb Dale King:
>
> I tried for a simpler goal, just take that annotation and translate it to
> cover the entire output page, but even that did not work as can be seen in
> the output pdf. Something is getting in the way and adding its own
> coordinate translation but I cannot figure out what.
>
> The annotation of the target PDF does cover the entire page. Click on the
> left border of the page in Adobe Reader and you'll see the rectangle.
> However...
>
> I suspect you're unhappy with the blue rectangle. This could be because of
> the appearance stream which you took from the source unchanged:
>
>
> q
> Q
> q
>   7.044313E-5 4.893184E-6 112.2815 29.0435 re
>   W
>   n
>   /Cs1 cs
>   0 0.3813631 0.9982447 sc
>   /Gs1 gs
>   3.498857 3.498791 105.2839 22.04592 re
>   f
>   4.997579 w
>   2 J
>   [ 11.99758 18.99274 ] 1 d
>   /Cs1 CS
>   0 0 0 SC
>   /Gs2 gs
>   q
>     1 0 0 1 -399.6912 -556.2903 cm
>     403.1903 559.7895 105.284 22.04594 re
>     S
>   Q
> Q
>
>
> Tilman
>
>


-- 
Dale King

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