Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1722

[PATCH] Values in PDF Number Trees must be indirect references

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.5
    • 2.9
    • renderer/pdf
    • None
    • Operating System: All
      Platform: All
    • 48077

    Description

      See PDF Reference, Third Edition, Section 3.8.5, "Number Trees": the Nums entry
      must be an array of key-value pairs where value is an indirect reference to the
      object associated with the key.

      However, the o.a.f.pdf.PDFNumsArray class does nothing to ensure that elements
      added to the array are actually indirectly referenced. So generated PDFs are
      strictly speaking invalid.

      Attachments

        1. patch3.txt
          11 kB
          Dave Roxburgh
        2. text.pdf
          6 kB
          Vincent Hennebert
        3. text.fo
          2 kB
          Vincent Hennebert

        Activity

          People

            ssteiner Simon Steiner
            vhennebert Vincent Hennebert
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: