Used better conversion from svg to pdf