Improving quality of svg templates