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

PDF Linearization

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Linearization is helpful to allow viewing of pdf over a slow connection.

      Feature will be disabled by default, can be enabled with

      <fop version="1.0">
        <renderers>
          <renderer mime="application/pdf">
            <linearization>true</linearization>
          </renderer>
        </renderers>
      </fop>
      

      Branch:
      https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDFLinearization

      Some changes:
      Postpone writing PDF until end of document is reached.
      Split cross reference table into two, one for first page objects, the other for the remaining objects.
      Use an object number place holder for every object and an object number generator.
      Build mapping between objects and pages.
      Assign effective numbers to objects.
      Write catalog and first page objects before writing remaining objects.
      Write objects to file in order of object number.
      Create linearization dictionary and adapt cross reference tables.
      Create hint tables.

      Attachments

        Activity

          People

            ssteiner Simon Steiner
            ssteiner Simon Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: