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

[PATCH] Configurable PDF version

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: renderer/pdf
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC
    • External issue ID:
      51385

      Description

      When a PDF is embedded in another PDF via the PDF-as-an-image plugin, there can be problems when the image-PDF is of a higher version than the host-PDF. The first thing we need to apply is version configurability of the PDF document. This patch allows the user to add "<version>1.5</version>" as a child of <renderer mime="application/pdf">. This allows PDF versions to be specified between 1.4-1.7.

      This patch ONLY allows the header of a PDF to be configurable. I should emphasise that it only allows the header specifying the PDF version can be configured.

        Attachments

        1. pdfconfigurability.patch
          17 kB
          Mehdi Houshmand
        2. pdfconfigurability.patch
          18 kB
          Mehdi Houshmand
        3. dynamicversion.patch
          80 kB
          Mehdi Houshmand
        4. pdfversioning.patch
          48 kB
          Mehdi Houshmand

          Issue Links

            Activity

              People

              • Assignee:
                fop-dev@xmlgraphics.apache.org fop-dev
                Reporter:
                med1985@gmail.com Mehdi Houshmand
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: