pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkuehler <andr...@lehmi.de>
Subject Re: Shrink pdfbox.jar
Date Wed, 27 Feb 2013 17:23:56 GMT

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

Andreas Lehmkühler

[1] https://issues.apache.org/jira/browse/PDFBOX-586

View raw message