Fix loading of PDF files with invalid or missing Type3 characters (issue 5039)
Merge pull request #5077 from Snuffleupagus/issue-5039

Fix loading of PDF files with invalid or missing Type3 characters (issue 5039)