SVG matrix and miter limit

Just two more things...

Two more improvements to Image::CairoSVG.

The first one is shown here:

The problem is with the sticking-out bit at the bottom. This is due to a difference in a parameter called the “miter limit” between Cairo and SVG. Cairo sets it to 10, but the default for SVG is 4, which leads to the failure seen above. I’ve now set it to 4 in Image::CairoSVG.

The second fault is seen here with the raspberry pi icon:

I was quite confused but it turned out to be a simple case of multiplying the scaling matrices together in the wrong order.

The new version of Image::CairoSVG, version 18, will be up on CPAN later today.

The corrections can already be seen at my demonstration website.