You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Andreas Lehmkuehler <an...@lehmi.de> on 2013/03/02 14:34:16 UTC

Re: Shrink pdfbox.jar

Am 27.02.2013 18:41, schrieb Maruan Sahyoun:
> what about setting up some kind of ideas page for PDFBOX 2.0 where we could put together potential
 > improvements e.g. new parser (if still needed), layered lib (core, apps) …. 
We could also move parts
 > into a sandbox to work on it but to keep it separate from working code.
Good idea, but we have to find a suitable place for that "idea page".

> I will have some time again to work on core parts.
Good to hear that!

> BR
>
> Maruan Sahyoun
>
>
> Am 27.02.2013 um 18:23 schrieb Andreas Lehmkuehler <an...@lehmi.de>:
>
>> Hi,
>>
>> Am 01.02.2013 13:11, schrieb Thomas Chojecki:
>>> Hallo,
>>> the actual size of the pdfbox is nearly 3.8 MB.
>>> 2.8 MB of the filesize are "waste" with fonts and additional resources for fonts.
>>>
>>> Is it possibile to move that 2.8 MB of resources to the fontbox? For my purpose
>> I'm afraid it isn't, those are not part of Fontbox but of PDFBox.
>>
>>> of signing and verifying documents I don't need the fontbox and that resources.
>>> The only two resources that are needed for parsing a document are the
>>> glyphlist.txt and additional_glyphlist.txt
>>>
>>> So the pdfbox will shrink to a size of about 1 MB.
>> We already started a discussion on splitting PDFBox up into smaller parts to
>> minimize the footprint for different scenarios, see [1]. Unfortunately no one
>> found some cycles to push it further.
>>
>>> Best regards
>>> Thomas
>>
>>
>> BR
>> Andreas Lehmkühler
>>
>> [1] https://issues.apache.org/jira/browse/PDFBOX-586

BR
Andreas Lehmkühler


Re: Shrink pdfbox.jar

Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
Hi

option 1: some other Apache projects do have a wiki for that - maybe that can be done for PDFBOX too. 
option 2: we might open a ticket for discussion and add comments etc. to it. As soon as there is consensus on a topic we might open another ticket for that particular topic to track it's progress.

WDYT 

Maruan Sahyoun

Am 02.03.2013 um 14:34 schrieb Andreas Lehmkuehler <an...@lehmi.de>:

> Am 27.02.2013 18:41, schrieb Maruan Sahyoun:
>> what about setting up some kind of ideas page for PDFBOX 2.0 where we could put together potential
> > improvements e.g. new parser (if still needed), layered lib (core, apps) …. We could also move parts
> > into a sandbox to work on it but to keep it separate from working code.
> Good idea, but we have to find a suitable place for that "idea page".
> 
>> I will have some time again to work on core parts.
> Good to hear that!
> 
>> BR
>> 
>> Maruan Sahyoun
>> 
>> 
>> Am 27.02.2013 um 18:23 schrieb Andreas Lehmkuehler <an...@lehmi.de>:
>> 
>>> Hi,
>>> 
>>> Am 01.02.2013 13:11, schrieb Thomas Chojecki:
>>>> Hallo,
>>>> the actual size of the pdfbox is nearly 3.8 MB.
>>>> 2.8 MB of the filesize are "waste" with fonts and additional resources for fonts.
>>>> 
>>>> Is it possibile to move that 2.8 MB of resources to the fontbox? For my purpose
>>> I'm afraid it isn't, those are not part of Fontbox but of PDFBox.
>>> 
>>>> of signing and verifying documents I don't need the fontbox and that resources.
>>>> The only two resources that are needed for parsing a document are the
>>>> glyphlist.txt and additional_glyphlist.txt
>>>> 
>>>> So the pdfbox will shrink to a size of about 1 MB.
>>> We already started a discussion on splitting PDFBox up into smaller parts to
>>> minimize the footprint for different scenarios, see [1]. Unfortunately no one
>>> found some cycles to push it further.
>>> 
>>>> Best regards
>>>> Thomas
>>> 
>>> 
>>> BR
>>> Andreas Lehmkühler
>>> 
>>> [1] https://issues.apache.org/jira/browse/PDFBOX-586
> 
> BR
> Andreas Lehmkühler
>