Salut Philippe

I haven't had time, yet, to run the debugger, but I think it's pretty
obvious now what going wrong. If you look that PostScript file you sent
me in a text editor you can see that there is a line "1.0 1.0 1.0
setrgbcolor" at the beginning of page 1 which is missing on page 2.

You can patch src/org/apache/fop/render/ps/PSRenderer.java. Find the
method useColor(float, float, float) and remove the line with the "if".
This will disable a dumb and obviously buggy optimization attempt. It will
certainly increase the size of the PostScript file for the moment but
should get rid of the bug. Rebuild FOP after modifying.

If I find some time I'll see if I can find a better solution. I probably
have the same problem in the dev version.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to