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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to