GitHub user gustavo-moreira opened a pull request:
https://github.com/apache/pdfbox/pull/2
Fixing fonts problem with PDF version 1.7, created by ABBY
PDFBox was throwing a NullPointerException when the PDF file did not
provide the COSName.TYPE information. In a PDF created by ABBY (PDF version
1.7), this information is missing, but the Font SubType and the BaseFont still
there, so the content can still be extracted correctly.
In PDFontFactory was just changed the Font information retrieve, a
implemented a fallback for the missing information.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gustavo-moreira/pdfbox pdf1.7fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/pdfbox/pull/2.patch
----
commit de0a90069a2151f9bae43b6f7d3df08b945680ee
Author: gustavo-moreira <[email protected]>
Date: 2012-10-26T06:28:56-07:00
Fixing fonts problem with PDF version 1.7, created by ABBY
----