Hi,

Am 26.10.2012 15:34, schrieb gustavo-moreira:
GitHub user gustavo-moreira opened a pull request:
AFAIK the PDFBox github repository is just a mirror of our subversion repository which contains the "official" PDFBox source code [1].

@Jukka can you conform that, as you are/were the one who maintains those 
mirrors?



     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

----
I'll apply the patch but due to the lack of official git support within PDFBox I won't be able to answer/close (or whatever is appropriate) your pull request directly. I've create an issue on JIRA [3] to document your fix.

@Gustavo
You might subscribe yourself to our mailing lists [2] to follow the development of PDFBox.

Thanks for the contribution!

BR
Andreas Lehmkühler

[1] http://svn.apache.org/viewvc/pdfbox/
[2] http://pdfbox.apache.org/mail-lists.html
[3] https://issues.apache.org/jira/browse/PDFBOX-1431

Reply via email to