[
https://issues.apache.org/jira/browse/PDFBOX-2428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333611#comment-14333611
]
Bernhard Stiftner commented on PDFBOX-2428:
-------------------------------------------
Is there any chance of fixing fontbox before the 2.0 major release? I'm running
preflight for PDF/A validation over a sample of 45K PDF files. For ~10K
documents validation fails because of this bug. So I guess it must be a rather
common problem? My sample of PDF files is nothing unusual - typical office
documents for the most part.
I did the fork on GitHub, and it works perfectly for my validation job. I
probably should have gotten involved in the discussion here in the first place
instead of opening a pull request. I'm sorry for that. Anyway, please consider
including the patch if you plan yet another 1.8 release.
> An error occured when reading table hmtx
> ----------------------------------------
>
> Key: PDFBOX-2428
> URL: https://issues.apache.org/jira/browse/PDFBOX-2428
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 1.8.8, 2.0.0
> Reporter: simon steiner
> Assignee: John Hewson
> Fix For: 2.0.0
>
> Attachments: ttsubset_pdfa.pdf
>
>
> java -cp
> pdfbox/preflight/target/preflight-1.8.8-SNAPSHOT.jar:pdfbox/app/target/pdfbox-app-1.8.8-SNAPSHOT.jar:pdfbox/xmpbox/target/xmpbox-1.8.8-SNAPSHOT.jar:lib/commons-io-1.3.1.jar
> org.apache.pdfbox.preflight.Validator_A1b ttsubset_pdfa.pdf
> SEVERE: An error occured when reading table hmtx
> java.io.EOFException
> at
> org.apache.fontbox.ttf.MemoryTTFDataStream.readSignedShort(MemoryTTFDataStream.java:139)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]