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:

<fo:external-graphic src="woman_navy_1918.jpg"
    inline-progression-dimension.maximum="100%"
    content-width="scale-down-to-fit"
    block-progression-dimension.maximum="20cm"
    content-height="scale-down-to-fit"/>

2014-06-18 18:58 GMT+02:00 bob swanson <bobswans...@gmail.com>:
>
> 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

Reply via email to