As a quick test try to add encoding=”default” to <pd4ml:transform> – it looks like your PDF is corrupted by a character encoding conversion applied to binary PDF data.
By adding encoding=”default” to <pd4ml:transform> got the job done.
I will do some more testing today and see how everything works.
I will also test with older version of PD4ML for which we have a license.
If we decide to upgrade to PD4ML Java v3.9.8b1, I believe we need to purchase the new version again or since we already bought before, we can upgrade for free? I mean I can get the non-demo jar files.