Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7, 2.8
-
None
-
None
Description
Using PDF-Images to inject a PDF as an image (fo:external-graphic). Image/PDF has a gradient fill component. When scaling the image, the gradient does not display properly. Resulting from shifted gradient to no gradient depending on scale.
width scaling All issues are found when scaling width by %
height scaling Doesn't seem to even scale the image
Files attached for testing:
- pdf-external-graphic-scaling-with-gradients.fo - the FO file, with a selection of image inclusions at different scales and scaling methods
- img-with-gradient.pdf - the PDF image being injected in to rendered pdf, containing a gradient filled component.
- out1.pdf - the result of running fop on above
Tested on Windows using FOP 2.7 and 2.8
Command used to execute is
fop.bat -fo pdf-external-graphic-scaling-with-gradients.fo -pdf out1.pdf