Re: Misleading Error Message When Image Exceeds Viewport

2014-06-19 Thread Pascal Sancho
regarding the warning message, I can't reproduce the wrong page number.

2014-06-18 18:58 GMT+02:00 bob swanson :
>
> I was working on a large (530+ pages) PDF creation
> and was receiving an error that the viewport
> was being exceeded. I finally figured out that
> an image was too long, and bled beyond the
> text of the page. That is my issue, and I
> figured out at least one way to get around that.
>
> The problem is that the error message
> issued gave the wrong page number, and
> I was looking for trouble in the wrong
> part of the output PDF.
>
> The following ZIP file has a script and
> input files that reproduce the problem
> with the error message. The script would
> need modification to run on another machine,
> as I have quite a configuration mess to
> deal with. However, the "fop" script invocation
> is pretty simple, and the input .fo file is
> also pretty simple.
>
> http://swansongrp.com/misc/the_test.zip
>
> If necessary, I can open a problem report.
>
> Thanks for all your help,
>
>
> Bob Swanson
> bobswans...@gmail.com
>



-- 
pascal

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Misleading Error Message When Image Exceeds Viewport

2014-06-19 Thread Pascal Sancho
Hi,

to prevent such warning, you should use
*-progression-dimension.maximum properties.

on i-p-d axis, this is trivial (100% is usable), but on b-p-d axis,
you have to compute the maximum size by yourself:



2014-06-18 18:58 GMT+02:00 bob swanson :
>
> I was working on a large (530+ pages) PDF creation
> and was receiving an error that the viewport
> was being exceeded. I finally figured out that
> an image was too long, and bled beyond the
> text of the page. That is my issue, and I
> figured out at least one way to get around that.
>
> The problem is that the error message
> issued gave the wrong page number, and
> I was looking for trouble in the wrong
> part of the output PDF.
>
> The following ZIP file has a script and
> input files that reproduce the problem
> with the error message. The script would
> need modification to run on another machine,
> as I have quite a configuration mess to
> deal with. However, the "fop" script invocation
> is pretty simple, and the input .fo file is
> also pretty simple.
>
> http://swansongrp.com/misc/the_test.zip
>
> If necessary, I can open a problem report.
>
> Thanks for all your help,
>
>
> Bob Swanson
> bobswans...@gmail.com
>



-- 
pascal

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Misleading Error Message When Image Exceeds Viewport

2014-06-18 Thread bob swanson
I was working on a large (530+ pages) PDF creation
and was receiving an error that the viewport
was being exceeded. I finally figured out that
an image was too long, and bled beyond the
text of the page. That is my issue, and I
figured out at least one way to get around that.

The problem is that the error message
issued gave the wrong page number, and
I was looking for trouble in the wrong
part of the output PDF.

The following ZIP file has a script and
input files that reproduce the problem
with the error message. The script would
need modification to run on another machine,
as I have quite a configuration mess to
deal with. However, the "fop" script invocation
is pretty simple, and the input .fo file is
also pretty simple.

http://swansongrp.com/misc/the_test.zip

If necessary, I can open a problem report.

Thanks for all your help,


Bob Swanson
bobswans...@gmail.com