[
https://issues.apache.org/jira/browse/PDFBOX-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14193970#comment-14193970
]
John Hewson edited comment on PDFBOX-2442 at 11/2/14 7:22 PM:
--------------------------------------------------------------
Yes, you're right, the width in the charstring is -770 which is subtracted from
the NominalWidth of 770 giving a width of 0. That means that there _is_ a bug
in our CFF or chartering handling.
was (Author: jahewson):
Yes, you're right, the width in the charstring is -770 which is subtracted from
the NominalWidth giving a width of 0. That means that there _is_ a bug in our
CFF or chartering handling.
> false negative? 3.1.6 : Invalid Font definition, Width (633.0) of the
> character "60" in the font program "BNGLNN+LucidaMath-Symbol" is inconsistent
> with the width (0.0) in the PDF dictionary.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-2442
> URL: https://issues.apache.org/jira/browse/PDFBOX-2442
> Project: PDFBox
> Issue Type: Bug
> Components: Preflight
> Affects Versions: 2.0.0
> Environment: java7 deb7
> Reporter: Ralf Hauser
> Assignee: John Hewson
> Attachments: adobe7pie.pdf
>
>
> org.apache.pdfbox.preflight.font.util.GlyphException: Width (633.0) of the
> character "60" in the font program "BNGLNN+LucidaMath-Symbol" is inconsistent
> with the width (0.0) in the PDF dictionary.
> at
> org.apache.pdfbox.preflight.font.container.FontContainer.checkWidthsConsistency(FontContainer.java:181)
> at
> org.apache.pdfbox.preflight.font.container.FontContainer.checkGlyphWidth(FontContainer.java:130)
> at
> org.apache.pdfbox.preflight.content.PreflightContentStream.validText(PreflightContentStream.java:342)
> at
> org.apache.pdfbox.preflight.content.PreflightContentStream.validStringArray(PreflightContentStream.java:276)
> at
> org.apache.pdfbox.preflight.content.PreflightContentStream.validStringArray(PreflightContentStream.java:272)
> at
> org.apache.pdfbox.preflight.content.PreflightContentStream.checkShowTextOperators(PreflightContentStream.java:190)
> at
> org.apache.pdfbox.preflight.content.PreflightContentStream.processOperator(PreflightContentStream.java:155)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.processSubStream(PDFStreamEngine.java:226)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.processSubStream(PDFStreamEngine.java:196)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:152)
> at
> org.apache.pdfbox.preflight.content.PreflightContentStream.validPageContentStream(PreflightContentStream.java:76)
> at
> org.apache.pdfbox.preflight.process.reflect.SinglePageValidationProcess.validateContent(SinglePageValidationProcess.java:184)
> 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:56)
> at
> org.apache.pdfbox.preflight.process.PageTreeValidationProcess.validate(PageTreeValidationProcess.java:45)
> 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:168)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)