From users-return-10766-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Mon Jan 29 12:23:23 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 05A68180654 for ; Mon, 29 Jan 2018 12:23:23 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E9F5A160C3F; Mon, 29 Jan 2018 11:23:22 +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 3D34F160C31 for ; Mon, 29 Jan 2018 12:23:22 +0100 (CET) Received: (qmail 97106 invoked by uid 500); 29 Jan 2018 11:23:21 -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 97094 invoked by uid 99); 29 Jan 2018 11:23:20 -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; Mon, 29 Jan 2018 11:23:20 +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 9A56E1A2ADE for ; Mon, 29 Jan 2018 11:23:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.102 X-Spam-Level: X-Spam-Status: No, score=-0.102 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=lehmi.de Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id tLHaNlGN1Hkb for ; Mon, 29 Jan 2018 11:23:17 +0000 (UTC) Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.221]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 4C96762F10 for ; Mon, 29 Jan 2018 11:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1517224625; s=strato-dkim-0002; d=lehmi.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:Date:Message-ID: From:References:To:Subject:X-RZG-CLASS-ID:X-RZG-AUTH; bh=D+tZiniC0hbZGDmP/OnSQgWN4lq/jhG1BicwqtZ4PfU=; b=F2HZv4F+wC79nOpc3k8oQz6kvP91VMOCnM6BEn+qiz9VFHzRgoWMBzQlQYI1dhITgR dVgmzerwMNCWSTDFprgKnZMhdXQd4fPQVfCbz1zbCvNPtRgoxgIECBeVgLN0Ke1Y3NDc fwwzEHmPciayNNhZ442F46TVA9jmfNKm5knRFISYZF/fY2f1WedLny/WD/N6VgJlx0Jh wH9IeYf4XLydU2DHgQY+OytWwvqpL0F5V7mfhG/fhs2LX2tPKE/nz9sY1dwj52lzTdUH j1lBHAHauYjNdwJrPYpFERrDJRZP42ani0zoEuRm87GbQbefwdLwuiEWIFqlQFEDF9yA czpw== X-RZG-AUTH: :LWIAZ0WpaN8UY5o8XRz0jOyrHsdUGPvBRfQHLwW1oA/8m8QyX/Sant12i8D/qTuu8hNKbQ== X-RZG-CLASS-ID: mo00 Received: from [192.168.6.23] (dslb-188-107-150-184.188.107.pools.vodafone-ip.de [188.107.150.184]) by smtp.strato.de (RZmta 42.18 DYNA|AUTH) with ESMTPSA id C07c81u0TBH5XFR (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Mon, 29 Jan 2018 12:17:05 +0100 (CET) Subject: Re: Mismatch between XeLaTeX fontspec and Apache PDFBox To: users@pdfbox.apache.org References: From: Andreas Lehmkuehler Message-ID: <730d2cd3-a6f8-bbbe-954f-5b888c99dea7@lehmi.de> Date: Mon, 29 Jan 2018 12:17:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-MW Content-Transfer-Encoding: 8bit Am 29.01.2018 um 11:02 schrieb Flynn, Peter: > > /bin/java -jar /usr/local/src/pdfbox-app-1.8.4.jar \ > ExtractText -html -force V$pubno-crop.pdf \ > V$pubno-crop.html You are using an ancient version of PDFBox, please update to a more recent version like 1.8.13 or better to 2.0.8 Andreas > -- > Peter Flynn | Academic & Collaborative Technologies | University College Cork IT Services | ☎ +353 21 490 2609 | ✉ pflynn@ucc.ie | 🌍 www.ucc.ie > > > > On 2018-01-28 12:30:58+00:00 Tilman Hausherr wrote: > > Hi, > I can only answer about PDFBox... no PDF has anything bold. Both have > something italic. > > Yes, sorry about that. I picked an example that only has italic. > > The PDF without fontspec doesn't have the "é". > > Correct. But it does convert with PDFBox and identifies the italics. > > The PDF with fontspec can be converted to HTML with "ExtractText -html" > > I convert with the command > > /bin/java -jar /usr/local/src/pdfbox-app-1.8.4.jar ExtractText -html -force filename.pdf filename.html > > and the results were as given in thre .zip file: no italics. What version are you using? > > P > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org