Improve PDF export