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 6305E17BDC for ; Thu, 26 Mar 2015 17:50:09 +0000 (UTC) Received: (qmail 22233 invoked by uid 500); 26 Mar 2015 17:50:07 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 22196 invoked by uid 500); 26 Mar 2015 17:50:07 -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 21942 invoked by uid 99); 26 Mar 2015 17:50:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2015 17:50:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.25.134.20] (HELO mailout08.t-online.de) (194.25.134.20) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2015 17:50:00 +0000 Received: from fwd00.aul.t-online.de (fwd00.aul.t-online.de [172.20.26.147]) by mailout08.t-online.de (Postfix) with SMTP id 95840131B68 for ; Thu, 26 Mar 2015 18:49:39 +0100 (CET) Received: from [192.168.2.102] (XdIYawZbQhJUAu+kgToni7VQeNNPMvCT7X6IYhoFPPM56SAuQs--euNVJKTYEzcQAY@[217.231.156.133]) by fwd00.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1YbBuS-08TUSe0; Thu, 26 Mar 2015 18:49:36 +0100 Message-ID: <551446D8.6090200@t-online.de> Date: Thu, 26 Mar 2015 18:50:16 +0100 From: Tilman Hausherr User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: users@pdfbox.apache.org Subject: Re: pdfbox warnings References: <5514329F.2090803@t-online.de> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-ID: XdIYawZbQhJUAu+kgToni7VQeNNPMvCT7X6IYhoFPPM56SAuQs--euNVJKTYEzcQAY X-TOI-MSGID: 7c19ac09-bc3d-426f-bc10-6801bcc2ed81 X-Virus-Checked: Checked by ClamAV on apache.org It doesn't work with the ttf font for some reason. I can only tell that it works for me with the type1 file. Tilman Am 26.03.2015 um 18:41 schrieb Eric Douglas: > I don't know where the fallback font comes from but it doesn't work. If I > view the PDF in Abode Reader it has an editable checkbox with a check mark > in it. The image rendered by pdfbox is just an empty box. > I am using pdfbox 2.0.0 from a trunk. > I can upload a small sample PDF that shows this error if it helps. > I have a ZapfDingbats.ttf file but I can't see any way to embed that for > the editable checkbox. I'm creating the PDF using iText. > If I view the PDF in Adobe Reader and check Properties, on the Fonts tab it > shows > ZapfDingbats > Type: Type 1 > Encoding: Built-in > Actual Font: AdobePiStd > Actual Font Type: Type 1 > My normal fonts for text that properly embedded which render fine with this > trunk show as > LucidaSans-Typewriter (Embedded Subset) > Type: TrueType > Encoding: Custom > > On Thu, Mar 26, 2015 at 12:23 PM, Tilman Hausherr > wrote: > >> Am 26.03.2015 um 14:16 schrieb Eric Douglas: >> >> When I call the PDFRenderer renderPageToGraphics method I get warnings in >>> my log. >>> Is there a fix for these? >>> >>> org.apache.pdfbox.pdmodel.font.PDType1Font >>> WARNING: Using fallback font ArialMT for ZapfDingbats >>> org.apache.pdfbox.rendering.font.Type1Glyph2D getPathForCharacterCode >>> WARNING: No glyph for 52 (.notdef) in font ZapfDingbats >>> org.apache.pdfbox.pdmodel.font.PDType1Font >>> WARNING: Using fallback font ArialMT for ZapfDingbats >>> >>> >> Yes, buy a ZapfDingbats type 1 font and copy it into your font directory. >> Or maybe you already have it, then the file is named "ZD______.PFB". >> License restrictions may apply. >> >> Tilman >> >> PS: alwyays mention the version (in your case "trunk" or "2.0") >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >> For additional commands, e-mail: users-help@pdfbox.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org