make PdfBackend coding guidelines compliant
fix #683
Merge pull request #688 from osa1/fix683

Fix #683