Improve PDF display support