[Olena-patches] last-svn-commit-862-ga1722e4 Improve PDF output.