[
https://issues.apache.org/jira/browse/PDFBOX-2428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328941#comment-14328941
]
ASF GitHub Bot commented on PDFBOX-2428:
----------------------------------------
GitHub user root84 opened a pull request:
https://github.com/apache/pdfbox/pull/10
Fix PDFBOX-2428 in FontBox 1.8
PDFBOX-2428 ("An error occured when reading table hmtx") is fixed in
FontBox 2.0-SNAPSHOT already. Are there any plans to also release a fixed 1.8.x
version? This pull request contains the proposed fix for 1.8 (backported from
2.0-SNAPSHOT).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/root84/pdfbox 1.8
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/pdfbox/pull/10.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10
----
commit 2d5b2aedc895d002296ee2e28aa473ac3b3cba81
Author: Bernhard Stiftner <[email protected]>
Date: 2015-02-20T13:15:07Z
Backported fixes for PDFBOX-2428 (error occured when reading table hmtx)
from FontBox 2.0-SNAPSHOT to FontBox 1.8
----
> 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]