Return-Path: X-Original-To: apmail-pdfbox-users-archive@www.apache.org Delivered-To: apmail-pdfbox-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 71095E31E for ; Wed, 27 Feb 2013 17:24:28 +0000 (UTC) Received: (qmail 12442 invoked by uid 500); 27 Feb 2013 17:24:28 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 12425 invoked by uid 500); 27 Feb 2013 17:24:28 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 12415 invoked by uid 99); 27 Feb 2013 17:24:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 17:24:28 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,T_FRT_POSSIBLE X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [81.169.146.161] (HELO mo-p00-ob.rzone.de) (81.169.146.161) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 17:24:19 +0000 X-RZG-AUTH: :LWIAZ0WpaN8UY5o8XRz0jOyrHsdEC+nAE10OdySrgHL6ku8V1wBfgHLpTFg= X-RZG-CLASS-ID: mo00 Received: from [192.168.1.6] (dslb-088-077-251-072.pools.arcor-ip.net [88.77.251.72]) by smtp.strato.de (josoe mo42) (RZmta 31.18 DYNA|AUTH) with ESMTPA id J00ff8p1RFnWhe for ; Wed, 27 Feb 2013 18:23:56 +0100 (CET) Message-ID: <512E412C.1050303@lehmi.de> Date: Wed, 27 Feb 2013 18:23:56 +0100 From: Andreas Lehmkuehler User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: users@pdfbox.apache.org Subject: Re: Shrink pdfbox.jar References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org 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