Our Web application produces HTML pages containing elements defined as follows:
- The HTML element contains an SVG element with a shape (e.g. a rectangle)
- The SVG shape is filled with an image pattern
In some cases, one or both of the following formatting options are present:
1. The HTML element is flipped with a scaling of -1 (horizontal and/or vertical)
2. A drop shadow is applied to the HTML element
When options 1 and 2 are not applied, or when only one of the two is applied, the PDF produced by Prince 13.5 is good, according to my tests (see cases 1, 2 and 3 in the attached file test-A). However, when both options 1 and 2 are present, the image pattern is not positioned correctly in the resulting PDF (see case 4 in test-A). The image position can be more obviously incorrect in the PDF when additional transforms are present, as shown in case 5 (test-B).
- The HTML element contains an SVG element with a shape (e.g. a rectangle)
- The SVG shape is filled with an image pattern
In some cases, one or both of the following formatting options are present:
1. The HTML element is flipped with a scaling of -1 (horizontal and/or vertical)
2. A drop shadow is applied to the HTML element
When options 1 and 2 are not applied, or when only one of the two is applied, the PDF produced by Prince 13.5 is good, according to my tests (see cases 1, 2 and 3 in the attached file test-A). However, when both options 1 and 2 are present, the image pattern is not positioned correctly in the resulting PDF (see case 4 in test-A). The image position can be more obviously incorrect in the PDF when additional transforms are present, as shown in case 5 (test-B).