[
https://issues.apache.org/jira/browse/PDFBOX-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ralf Hauser updated PDFBOX-2403:
--------------------------------
Attachment: patchPDFBOX-2403Type1.txt
With the attached patch, you get the real reason:
java.io.IOException: Number of CharStrings elements is expected instead of
"/Helvetica-Bold".
at
org.apache.pdfbox.preflight.font.util.Type1Parser.readNumberOfCharStrings(Type1Parser.java:376)
at
org.apache.pdfbox.preflight.font.util.Type1Parser.parseCharStringArray(Type1Parser.java:299)
at
org.apache.pdfbox.preflight.font.util.Type1Parser.parseEExecPart(Type1Parser.java:291)
at
org.apache.pdfbox.preflight.font.util.Type1Parser.decodeAndParseEExecPart(Type1Parser.java:197)
at
org.apache.pdfbox.preflight.font.util.Type1Parser.parse(Type1Parser.java:182)
Does anybody have a clue whether "/Helvetica-Bold" is legitimately found there?
> false negative? "Font damaged, The FontFile can't be read"
> ----------------------------------------------------------
>
> Key: PDFBOX-2403
> URL: https://issues.apache.org/jira/browse/PDFBOX-2403
> Project: PDFBox
> Issue Type: Bug
> Components: Preflight
> Affects Versions: 2.0.0
> Environment: deb7, java 7
> Reporter: Ralf Hauser
> Attachments: patchPDFBOX-2403.txt, patchPDFBOX-2403Type1.txt,
> pdfa1b.pdf
>
>
> - 1: 3.2.1 : Font damaged, The FontFile can't be read
> - 2: 3.2.1 : Font damaged, The FontFile can't be read
> - 3: 3.1.6 : Invalid Font definition, Width of the character "48" in the
> font program "SURPPV+HeiseiMaruGoStd-W8-Identity-H" is inconsistent with the
> width in the PDF dictionary.
> - 4: 3.1.6 : Invalid Font definition, Width of the character "36" in the
> font program "OIZFRF+KozMinProVI-Regular-Identity-H" is inconsistent with the
> width in the PDF dictionary.
> - 5: 3.3.1 : Glyph error, The character "74" in the font program
> "OIZFRF+KozMinProVI-Regular-Identity-H" is missing from the Charater Encoding.
> - 6: 3.1.6 : Invalid Font definition, Width of the character "80" in the
> font program "OIZFRF+KozMinProVI-Regular-Identity-H" is inconsistent with the
> width in the PDF dictionary.
> - 7: 3.1.6 : Invalid Font definition, Width of the character "420" in the
> font program "RRATCX+MathematicalPiLTStd-Identity-H" is inconsistent with the
> width in the PDF dictionary.
> possibly related to
> https://issues.apache.org/jira/browse/PDFBOX-2299?focusedCommentId=14160528&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14160528
> ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)