[ 
https://issues.apache.org/jira/browse/PDFBOX-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873372#comment-16873372
 ] 

Jonathan commented on PDFBOX-4567:
----------------------------------

All tests are passing, including the bavaria ones. Setting the flag didn't 
activate them though, I had to remove the condition in the test case. Regarding 
Java 8, I'll then leave the lambdas alone for know, if you decide at a later 
point that you don't want to upgrade we can still quite easily replace them.

I've finished a first integration for now and added a simple test case, 
inspired by your PDFMergerUtility. It parses and renders a set of pdfs, 
linearizes them and compares the results the renderer yields.

I've noticed that there are some problems when we try to encrypt the resulting 
PDF. Up to now, we always used a stripped-down version of a pdf, containing 
only the objects referenced in the page tree. Thus, encryption wasn't applied 
when writing the streams. Without this simplification, the tests surfaced some 
invalid block lengths.

For now, I'll implement an automatic simpification of the pdf. This will yield 
linearized files which have the same visual appearance but may lack some other 
features the original file had.

Regarding the CLA, all involved developers have signed them by now, we just 
need the approval for the Company-CLA now.

> Contribution of PDF Linearization
> ---------------------------------
>
>                 Key: PDFBOX-4567
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4567
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: Utilities, Writing
>            Reporter: Jonathan
>            Priority: Major
>
> We've finally gotten the approval to publish our pdf linearization. How 
> should we do it? I thought about publishing our current source as a fork of 
> PDFBox on Github, then we could discuss about the best way to integrate the 
> module into your API.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to