You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Petras (JIRA)" <ji...@apache.org> on 2015/08/07 10:06:45 UTC

[jira] [Created] (PDFBOX-2921) Validation fails if FontValidationProcess is not used

Petras created PDFBOX-2921:
------------------------------

             Summary: Validation fails if FontValidationProcess is not used
                 Key: PDFBOX-2921
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2921
             Project: PDFBox
          Issue Type: Bug
          Components: Preflight
    Affects Versions: 1.8.10
            Reporter: Petras


The list validation processes to be used during validation may be controlled by removing some of it or providing own implementation in {{PreflightConfiguration}}. Unfortunately, there exists some coupling among them - if {{FontValidationProcess}} is removed from the processes list, {{ContentStreamWrapper}} fails with {{ERROR_FONTS_UNKNOWN_FONT_REF}} error:
{quote}
Glyph error, MyriadPro-Regular is unknown wasn't found by the FontHelperValdiator
{quote}
as it does not get {{FontContainer}} instance for given {{PDFont}} from the {{PreflightContext}}. It appears that {{FontValidator}} adds them.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org