[
https://issues.apache.org/jira/browse/PDFBOX-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150026#comment-13150026
]
Lars Torunski commented on PDFBOX-1162:
---------------------------------------
I have to check my university math numeric lessons first, but shouldn't
final float EPSILON = 1/1000f;
...
if (Math.abs(widthProvidedByPdfDictionary - widthInFontProgram) > EPSILON) {
be used to check it. One division, one addition, one math operation and one
comparision can be avoided for each method invocation.
> Font error in "preflight" .....when validating the attached PDF/A
>
> -----------------------------------------------------------------------------------
>
> Key: PDFBOX-1162
> URL: https://issues.apache.org/jira/browse/PDFBOX-1162
> Project: PDFBox
> Issue Type: Bug
> Components: Preflight
> Affects Versions: 1.7.0
> Reporter: William Fausser
> Assignee: Eric Leleu
> Fix For: 1.7.0
>
> Attachments: The_Legal_ Case_for_ PDFA.pdf
>
>
> Font Issue problem when validating the attached PDF/A.
> 3.1.6 : Invalid Font definition, Width of the character "367" in the font
> program "ABCDEE+Calibri"is inconsistent with the width in the PDF dictionary.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira