Apache FOP Code fix

Code fix
by
JM
:

Bugfix: Certain filter combinations in PDF could lead to invalid PDFs.
DecodeParams were not properly handled.