[
https://issues.apache.org/jira/browse/PDFBOX-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14162313#comment-14162313
]
Tilman Hausherr commented on PDFBOX-2403:
-----------------------------------------
I'm committing your patch but please give some more details next time. I assume
you are using not the command line but the API, and so you can use the stack
trace by using the getters.
Why do you need the cause (which is an exception) AND a stacktrace (t)? Why not
just assign "new Exception" if there is no cause? Or do you prefer to get both
because sometimes it is not the same? Maybe provide some javadoc lines for the
new getters and constructor params.
> 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: patchBetterErrorMessages.txt, patchPDFBOX-2403.txt,
> patchPDFBOX-2403Type1.txt, pdfA_Validation_Report.eml, pdfa1b.pdf,
> validation_report.xml
>
>
> - 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)