You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2015/02/24 12:59:04 UTC

[jira] [Closed] (FOP-2445) PDF Linearization

     [ https://issues.apache.org/jira/browse/FOP-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

simon steiner closed FOP-2445.
------------------------------
    Resolution: Fixed

> PDF Linearization
> -----------------
>
>                 Key: FOP-2445
>                 URL: https://issues.apache.org/jira/browse/FOP-2445
>             Project: Fop
>          Issue Type: New Feature
>            Reporter: simon steiner
>            Assignee: simon steiner
>
> Linearization is helpful to allow viewing of pdf over a slow connection.
> Feature will be disabled by default, can be enabled with
> {code}
> <fop version="1.0">
>   <renderers>
>     <renderer mime="application/pdf">
>       <linearization>true</linearization>
>     </renderer>
>   </renderers>
> </fop>
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)