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 11EB6EF06 for ; Mon, 14 Jan 2013 07:27:07 +0000 (UTC) Received: (qmail 81038 invoked by uid 500); 14 Jan 2013 07:27:06 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 80894 invoked by uid 500); 14 Jan 2013 07:27:06 -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 80857 invoked by uid 99); 14 Jan 2013 07:27:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 07:27:05 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [81.169.146.162] (HELO mo-p00-ob.rzone.de) (81.169.146.162) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 07:26:58 +0000 X-RZG-AUTH: :LWIAZ0WpaN8UY5o8XRz0jOyrHsdEC+nAE10OdySrgHL6ku8U1wBfgNczdWGi X-RZG-CLASS-ID: mo00 Received: from [192.168.1.6] (dslb-088-076-251-203.pools.arcor-ip.net [88.76.251.203]) by smtp.strato.de (josoe mo3) (RZmta 31.12 DYNA|AUTH) with ESMTPA id g073c6p0E7NVsQ for ; Mon, 14 Jan 2013 08:26:37 +0100 (CET) Message-ID: <50F3B32C.1080306@lehmi.de> Date: Mon, 14 Jan 2013 08:26:36 +0100 From: Andreas Lehmkuehler User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: users@pdfbox.apache.org Subject: Re: Failure to render text References: <50EFB4D7.6070506@lehmi.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Am 13.01.2013 22:58, schrieb Brendan Jurd: > On 11 January 2013 17:44, Andreas Lehmkuehler wrote: >> First of all, please subscribe yourself to the mailing list [1] otherwise >> you won't get any answers in the future. Your're getting this one solely >> because I cc'ed you manually. >> > > I have done so. +1 :-) >> Your attachments didn't make it due to some restrictions to the mailing >> list. But as moderator I had access and I ran some tests ... > > Okay. What is your preferred way for me to make files available to the list? An URL for a download or attach it to a JIRA [1] ticket when reporting a bug >> Hmmm, it works fine for me using 1.7.1. Did you ever try to use the >> PDFReader provided by PDFBox. If it works maybe something with your code is >> wrong. > > I just tried that. PDFReader renders the black border, and the CUPS > logo graphic, but none of the text. I used File -> Save as Image to > export the failed render. You can view it at [1], and the original > PDF is at [2]. > > So, if it is working for you and not for me, I figure that the problem > has something to do with my operating environment. This is Gentoo > Linux x86_64 with KDE. I tried it on Windows Server 2008 64-bit, and > it worked fine there. I then tried it on Ubuntu with GNOME and got > the same result as Gentoo/KDE. Any ideas what could cause the same > pdfbox JAR to render text on some systems but not others? Is it > having trouble acquiring fonts, perhaps? OK, it seems to be your environment. Let me guess you are using OpenJDK7, aren't you? I'm experiencing some issues with fonts after installing fedora 17 which comes with an OpneJDK7. I've switched to the "official" oracle jdk7 and everything works as expected. > Cheers, > BJ > > [1] https://docs.google.com/file/d/0B1-kBA9pHgNYLWpoVnRVanhpVnM/edit > [2] https://docs.google.com/file/d/0B1-kBA9pHgNYQXJMZUxYTE5RaXM/edit BR Andreas Lehmk�hler [1] https://issues.apache.org/jira/browse/PDFBOX