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 C6753D1C4 for ; Wed, 26 Dec 2012 23:32:28 +0000 (UTC) Received: (qmail 92310 invoked by uid 500); 26 Dec 2012 23:32:28 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 92295 invoked by uid 500); 26 Dec 2012 23:32: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 92287 invoked by uid 99); 26 Dec 2012 23:32:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Dec 2012 23:32:28 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kb1381@gmail.com designates 209.85.210.175 as permitted sender) Received: from [209.85.210.175] (HELO mail-ia0-f175.google.com) (209.85.210.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Dec 2012 23:32:24 +0000 Received: by mail-ia0-f175.google.com with SMTP id z3so7386339iad.20 for ; Wed, 26 Dec 2012 15:32:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=2bn/cTBbO0WTlmk5emu+QZpV7aTbWwlZPWMOVC+O3Oo=; b=cm8MDjJuC+MDp45kOCr7wVVxh2CvOudB7QPZvCKBji2x5/aumKUj4eOaDJeN9hucli 0vH4tNAaPS4zm2ztO7eFYp6lrj/I7TNX1sr9K00PsDUtRHcPC+G/rIZQWCugyguBpKY1 i7LFLZknftwtHn0b+7ubf4S2oYwfmevpoRE4YoI/B50snrK6Yp13dOloTZyGDUS0ZFz5 02S3b9Lhs1sgJWu+xghuj4WuetFmBwtn3jodcg9etdUasPQ4kLT5dQfiqcot3N8yE/p9 oRZDjXBVCgDttixVdqten6qhvtCPz+8Zlo2DuTlTRW8KJdocdJYTbEgmhfffbDsMOlU4 r+/Q== MIME-Version: 1.0 Received: by 10.50.36.164 with SMTP id r4mr24968539igj.57.1356564723606; Wed, 26 Dec 2012 15:32:03 -0800 (PST) Received: by 10.64.147.38 with HTTP; Wed, 26 Dec 2012 15:32:03 -0800 (PST) In-Reply-To: <50DB86AB.6060600@lehmi.de> References: <4F6B79B7.2080000@gmail.com> <50DB86AB.6060600@lehmi.de> Date: Wed, 26 Dec 2012 18:32:03 -0500 Message-ID: Subject: Re: PDType1Font - Can't read the embedded type1C font From: Kevin Brown To: users@pdfbox.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org That's wonderful. Thank you! On Wed, Dec 26, 2012 at 6:22 PM, Andreas Lehmkuehler wro= te: > Hi, > > Am 19.12.2012 18:52, schrieb Kevin Brown: > >> Did you, or did anyone else, figure this out? I'm getting the same >> issue with some PDFs, but a different font: >> >> org.apache.pdfbox.pdmodel.font.PDType1Font >> INFO: Can't read the embedded type1C font MNJOCJ+Palatino-Bold >> >> This is with 1.7.1 > > We improved the Type1C support recently, see [1] for further details. > > >> On Thu, Mar 22, 2012 at 3:12 PM, Shalom Ben-Zvi >> wrote: >>> >>> Hi all >>> I am writing code that adds watermarks to pdf documents, I now have at >>> least one document that is problematic, I'm getting some font errors an= d >>> the document comes out empty: >>> >>> 22 Mar 2012 20:46:23,217 [main] DEBUG >>> fileformat.pdf.PdfWatermarkInputStream - Initializing >>> PdfWatermarkInputStream.. >>> 22 Mar 2012 20:46:23,229 [main] DEBUG >>> fileformat.pdf.PdfWatermarkInputStream - Temp file created to >>> /tmp/sfile7862373310127834572-watermark.pdf >>> 22 Mar 2012 20:46:24,208 [main] INFO pdmodel.font.PDType1Font - Can't >>> read the embedded type1C font PSOgrkdutchbs >>> 22 Mar 2012 20:46:24,278 [main] ERROR pdfbox.filter.FlateFilter - Stop >>> reading corrupt stream >>> 22 Mar 2012 20:46:24,281 [main] INFO pdmodel.font.PDType1Font - Can't >>> read the embedded type1C font PSOsymclas >>> 22 Mar 2012 20:46:24,308 [main] ERROR pdfbox.filter.FlateFilter - Stop >>> reading corrupt stream >>> 22 Mar 2012 20:46:24,308 [main] INFO pdmodel.font.PDType1Font - Can't >>> read the embedded type1C font JHIACB+PSOwstletgoth >>> 22 Mar 2012 20:46:25,327 [main] DEBUG >>> fileformat.pdf.PdfWatermarkInputStream - PdfWatermarkInputStream >>> initialized. >>> >>> I can't attach the document coz the qmail-send program rejects it , but >>> its this one: >>> >>> http://www.google.co.il/url?sa=3Dt&rct=3Dj&q=3D&esrc=3Ds&source=3Dweb&c= d=3D1&ved=3D0CCoQFjAA&url=3Dhttp%3A%2F%2Fmmrc.caltech.edu%2FOscilliscope%2F= Tek%2520TDS210%2520service.pdf&ei=3DJnlrT8T2BoHN0QWY9uTVBg&usg=3DAFQjCNEGhF= JhCSLGX0Ve11zFebKOiXFg1Q&sig2=3DNSlNZEPkrGyWFy4ZcxQWsQ >>> >>> my code is very much like the pdfbox example AddMessageToEachPage, plus >>> some code that adds a graphicsState to make the watermark text opaque. >>> >>> I googled and found some related discussions but nothing that helped me= , >>> I have no idea how to fix that. >>> will appreciate any help >>> >>> Thank you >>> >>> Shalom > > > > BR > Andreas Lehmk=FChler > [1] https://issues.apache.org/jira/browse/PDFBOX-1473 > >