You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Ralf Hauser (JIRA)" <ji...@apache.org> on 2014/10/21 12:30:34 UTC

[jira] [Issue Comment Deleted] (PDFBOX-2403) false negative? "Font damaged, The FontFile can't be read"

     [ https://issues.apache.org/jira/browse/PDFBOX-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Hauser updated PDFBOX-2403:
--------------------------------
    Comment: was deleted

(was: today, I see
java.lang.NullPointerException
	at org.apache.fontbox.cff.CharStringRenderer.rrcurveTo(CharStringRenderer.java:433)
	at org.apache.fontbox.cff.CharStringRenderer.rrCurveTo(CharStringRenderer.java:424)
	at org.apache.fontbox.cff.CharStringRenderer.handleCommandType2(CharStringRenderer.java:154)
	at org.apache.fontbox.cff.CharStringRenderer.handleCommand(CharStringRenderer.java:90)
	at org.apache.fontbox.cff.CharStringHandler.handleSequence(CharStringHandler.java:53)
	at org.apache.fontbox.cff.CharStringRenderer.render(CharStringRenderer.java:75)
	at org.apache.fontbox.cff.CFFFontROS.getWidth(CFFFontROS.java:173)
	at org.apache.pdfbox.preflight.font.container.CIDType0Container.getFontProgramWidth(CIDType0Container.java:83)
	at org.apache.pdfbox.preflight.font.container.Type0Container.getFontProgramWidth(Type0Container.java:46)
	at org.apache.pdfbox.preflight.font.container.FontContainer.checkGlyphWith(FontContainer.java:115)
	at org.apache.pdfbox.preflight.content.ContentStreamWrapper.validText(ContentStreamWrapper.java:373)
	at org.apache.pdfbox.preflight.content.ContentStreamWrapper.validStringArray(ContentStreamWrapper.java:297)
	at org.apache.pdfbox.preflight.content.ContentStreamWrapper.validStringArray(ContentStreamWrapper.java:293)
	at org.apache.pdfbox.preflight.content.ContentStreamWrapper.checkShowTextOperators(ContentStreamWrapper.java:209)
	at org.apache.pdfbox.preflight.content.ContentStreamWrapper.processOperator(ContentStreamWrapper.java:181)
	at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:258)
	at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:225)
	at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:205)
	at org.apache.pdfbox.preflight.content.ContentStreamWrapper.validPageContentStream(ContentStreamWrapper.java:76)
	at org.apache.pdfbox.preflight.process.reflect.SinglePageValidationProcess.validateContent(SinglePageValidationProcess.java:179)
	at org.apache.pdfbox.preflight.process.reflect.SinglePageValidationProcess.validate(SinglePageValidationProcess.java:87)
	at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:73)
	at org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:52)
	at org.apache.pdfbox.preflight.process.PageTreeValidationProcess.validatePage(PageTreeValidationProcess.java:58)
	at org.apache.pdfbox.preflight.process.PageTreeValidationProcess.validate(PageTreeValidationProcess.java:47)
	at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:73)
	at org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:88)
	at org.apache.pdfbox.preflight.PreflightDocument.validate(PreflightDocument.java:169))

> 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
>             Fix For: 2.0.0
>
>         Attachments: Konformität mit PDF_A-1b prüfen.pdf, Problems_pdfa1b.pdf_07.10.2014_001.pdf, patch2403JavaDoc.txt, patchBetterErrorMessages.txt, patchPDFBOX-2403.txt, patchPDFBOX-2403Type1.txt, pdfA_Validation_Report.eml, pdfa1b.pdf, pdfa1b_againstPDFA1a_report, pdfa1b_againstPDFA1b_report, pdfa1b_summary_0001.pdf, report, reportforfile_pdfa1b, 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 PDFBOX-2299?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)