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

Optional Content Membership Dictionaries (OCMD) not supported

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.15
    • Fix Version/s: 2.0.16, 3.0.0 PDFBox
    • Component/s: Rendering
    • Labels:

      Description

      PDPropertyList.create() supports OCG but not OCMD, and there is no such class. I found this because the attached file shows black squares instead of a woman in yellow color. Implementing the OCMD handling in PageDrawer fixes this, and also renders page 15 of the eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf file correctly for the first time.

        Attachments

        1. eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf-15.png
          12 kB
          Tilman Hausherr
        2. PDFJS-269-2-OCGs.pdf
          265 kB
          Tilman Hausherr
        3. PDFJS-269-2-OCGs.pdf-1.png
          1.20 MB
          Tilman Hausherr

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: