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

Optional Content Membership Dictionaries (OCMD) not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.15
    • 2.0.16, 3.0.0 PDFBox
    • Rendering

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: