Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2921

Validation fails if FontValidationProcess is not used

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.10
    • Fix Version/s: None
    • Component/s: Preflight
    • Labels:
      None

      Description

      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:

      Glyph error, MyriadPro-Regular is unknown wasn't found by the FontHelperValdiator

      as it does not get FontContainer instance for given PDFont from the PreflightContext. It appears that FontValidator adds them.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              abyss Petras
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: