Actually, I should have mentioned it before - I'm using the FOP API directly to generate the pdf and not the ootb solution AEM comes with. The ootb solution seems to have a few customizations to the API especially with regards to setting a custom URIResolver.Similarly, in my case, I had to write a c...