[ 
https://issues.apache.org/jira/browse/PDFBOX-2428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333657#comment-14333657
 ] 

Tilman Hausherr commented on PDFBOX-2428:
-----------------------------------------

I don't get an exception with 1.8.9:

java -jar  preflight-app-1.8.9-SNAPSHOT.jar  PDFBOX-2428_hmtx.pdf
log4j:WARN No appenders could be found for logger 
(org.apache.fontbox.ttf.TrueTypeFont).
log4j:WARN Please initialize the log4j system properly.
The filePDFBOX-2428_hmtx.pdf is not valid, error(s) :
3.1.5 : Invalid Font definition, The Encoding should be missing for the 
Symbolic TTF
3.1.5 : Invalid Font definition, The Encoding should be missing for the 
Symbolic TTF
7.11 : Error on MetaData, PDF/A identification schema 
http://www.aiim.org/pdfa/ns/id/ is missing


> 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]

Reply via email to