Added pdf support for svg.