Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9FDD0200D47 for ; Sat, 25 Nov 2017 18:01:57 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9335D160C03; Sat, 25 Nov 2017 17:01:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D83DE160BEF for ; Sat, 25 Nov 2017 18:01:56 +0100 (CET) Received: (qmail 50537 invoked by uid 500); 25 Nov 2017 17:01:51 -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 50526 invoked by uid 99); 25 Nov 2017 17:01:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Nov 2017 17:01:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 190B11A07FA for ; Sat, 25 Nov 2017 17:01:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.801 X-Spam-Level: X-Spam-Status: No, score=-1.801 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id q_-YBwX_nLTg for ; Sat, 25 Nov 2017 17:01:49 +0000 (UTC) Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B50485F3CC for ; Sat, 25 Nov 2017 17:01:48 +0000 (UTC) Received: from fwd19.aul.t-online.de (fwd19.aul.t-online.de [172.20.27.65]) by mailout06.t-online.de (Postfix) with SMTP id 41F5B41CF7AF for ; Sat, 25 Nov 2017 18:01:42 +0100 (CET) Received: from [192.168.2.105] (T5Pds0Zlgh8o4ungqIzyBspy7JzU2Nc5xPOMbB1h7uquvlWyG+6DyrsIa9R22j4gR0@[217.231.137.150]) by fwd19.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1eIdpl-0e1zRA0; Sat, 25 Nov 2017 18:01:41 +0100 Subject: Re: Fwd: Exception when extracting text on one Mac, but not on another To: users@pdfbox.apache.org References: From: Tilman Hausherr Message-ID: Date: Sat, 25 Nov 2017 18:04:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-ID: T5Pds0Zlgh8o4ungqIzyBspy7JzU2Nc5xPOMbB1h7uquvlWyG+6DyrsIa9R22j4gR0 X-TOI-MSGID: 520da86b-98ea-4191-911c-e68333daad33 archived-at: Sat, 25 Nov 2017 17:01:57 -0000 Please retry with 2.0.8 and post the stack trace. If possible, work with the source and set a breakpoint in OpenTypeFont where the exception comes. Then find out the name of that font. This way I could try to reproduce the effect, if I have that font. On windows, I get "Using fallback MS-Mincho for CID-keyed font Ryumin-Light" and rendering is blank. Tilman Am 25.11.2017 um 15:59 schrieb Matthew Self: > Hi, > > When I try to extract text from this PDF > with 2.0.7 on my > Mac, I get the following exception: > > java.lang.UnsupportedOperationException: TTF fonts do not have a CFF table > > When I run it on my other Mac, I do get the extracted text, although I see > this warning: > > WARNING: Using fallback KozMinPr6N-Light for CID-keyed font Ryumin-Light" > > > I checked, and the second Mac has Ryumin-Light installed, but the first Mac > does not. > > Is this expected behavior? Could it be that the font mapper is selecting > an OTF font as the fallback on the first Mac? > > Thank you for any info... > > --Matthew > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org