Hello,
we use Eo.Pdf.2013 to convert html + svgs to pdf. We generate the svg files using a chart library and this library uses linear transforms in conjunction with gradient-transforms on paths to render surface charts. The linear gradients look like the example below.
Quote:<linearGradient id='b6321' xlink:href='#b6107' gradientTransform='matrix(0.855,-1.156,1203,889.6,-93.01,125.8)'/>
<linearGradient id='b6107' x1='0' y1='0' x2='256' y2='0' spreadMethod='pad' gradientUnits='userSpaceOnUse'>
<stop offset='0' stop-color='#0000c0'/><stop offset='0.00390234' stop-color='#0000c0'/>
<stop offset='0.00390625' stop-color='#0000c0'/>
<stop offset='0.00399164' stop-color='#0000c0'/>
<stop offset='0.00399555' stop-color='#0084ff'/>
<stop offset='0.00488462' stop-color='#0084ff'/>
<stop offset='0.00488853' stop-color='#48ffa8'/>
<stop offset='0.0138144' stop-color='#48ffa8'/>
<stop offset='0.0138183' stop-color='#fff200'/>
<stop offset='0.103112' stop-color='#fff200'/>
<stop offset='0.103116' stop-color='#ff0000'/>
<stop offset='0.996094' stop-color='#ff0000'/>
<stop offset='0.996098' stop-color='#ff0000'/>
<stop offset='1' stop-color='#ff0000'/>
</linearGradient>
If you open the html + svg in Chrome you get no rendering errors. Unfortunately if you convert it and open it with Adobe Reader the output looks different - some colors are slightly shifted. If you open the same file with Foxit Reader or Sumatra some paths have completely different colors (it seems like some colors are getting "replaced" by other colors in the image).
Other svg files from the same library are working just fine - only the surface charts have this kind of behaviour. Is there anything you can do about it? - I also tried the 2014-Version but the results are the same.
You can download the files here:
https://www.dropbox.com/s/2w1e0srl7dixtg3/rendering_issues.zip?dl=0