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 71A18200B71 for ; Wed, 17 Aug 2016 00:55:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 70459160ABA; Tue, 16 Aug 2016 22:55:13 +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 B9F3E160AA8 for ; Wed, 17 Aug 2016 00:55:12 +0200 (CEST) Received: (qmail 50400 invoked by uid 500); 16 Aug 2016 22:55:11 -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 50384 invoked by uid 99); 16 Aug 2016 22:55:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2016 22:55:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 64D51C1D51 for ; Tue, 16 Aug 2016 22:55:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.61 X-Spam-Level: X-Spam-Status: No, score=-0.61 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=jahewson.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 3mBVGA0cahSr for ; Tue, 16 Aug 2016 22:55:08 +0000 (UTC) Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 69C015FACE for ; Tue, 16 Aug 2016 22:55:08 +0000 (UTC) Received: by mail-it0-f41.google.com with SMTP id e63so47146523ith.1 for ; Tue, 16 Aug 2016 15:55:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jahewson.com; s=google; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=P3iDvBSXu80MpvhjxjAQz9L+k4tuey/KGw7hn1zJl+I=; b=GFdJSevOcauu4nSR9pYUBQKdmp0GYlj+x07KFs32w0VMY2h+MUL7ZblYxml5zXkqJl N4Xsl0rP4WLmXdF8584hYnOJ/2RNV8Ev/cHwLi+rMaU7RGR5LivL6CfPDsn0C7R/3rHx tdrLuhFENiG04iJ1tjNrUck+6o8WGONNAavAs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=P3iDvBSXu80MpvhjxjAQz9L+k4tuey/KGw7hn1zJl+I=; b=B/ChnaPADRmif+k5vnc37RlLUAyIv3y+VmQZFcwwAsCSlPa/l8QvFqIMO0FsAxa7rG 9Jz3HBQ1wnNPd76piQ+W0uze/h3pK6X3a4Gy5GhiY+f4paUbXF0YsrpDd7/AUIdILWF7 NjsLijmAjkCkhXHm+nO2srG7lbn3Xw7f+9Hp5pzSaqD5EqcNiNhjNCxslcdoppSgEsZ+ 65tKQm5U5xExl+8LuxHE0Q2LddCcCGiC9VZmaNSumD+lZrdwIHmhuMYqddM8s8y45w41 wVMV1Urhc03GD/0NpfcEn2TJEU+QbFsEACwCa+l9n89k6t4TxyVCN0db98a7hD44KY8O sfWg== X-Gm-Message-State: AEkoousJOICcxgvNFyRGz+ModaVLDz8qza+isLO7ZMXs7ZWCuZzw5cLWEffvMawnAKx0XQ== X-Received: by 10.36.196.133 with SMTP id v127mr24240565itf.84.1471388101857; Tue, 16 Aug 2016 15:55:01 -0700 (PDT) Received: from [10.0.1.12] (c-73-202-194-89.hsd1.ca.comcast.net. [73.202.194.89]) by smtp.gmail.com with ESMTPSA id 4sm10557850itw.4.2016.08.16.15.55.00 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Aug 2016 15:55:01 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: How to implement OTF-fonts into a PDF with Apache PDFBox 2.x? From: John Hewson In-Reply-To: <30ee2755-6dbe-0fc5-a582-52da2db47fd8@t-online.de> Date: Tue, 16 Aug 2016 15:55:00 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <30ee2755-6dbe-0fc5-a582-52da2db47fd8@t-online.de> To: users@pdfbox.apache.org X-Mailer: Apple Mail (2.3124) archived-at: Tue, 16 Aug 2016 22:55:13 -0000 > On 16 Aug 2016, at 13:48, Tilman Hausherr = wrote: >=20 > Am 16.08.2016 um 21:25 schrieb hamena314: >> |PDType0Font font =3D PDType0Font.load(doc, new File("MyFont.otf")); = |=20 >=20 >=20 > I wonder if this would work: >=20 > OTFParser otfp =3D new OTFParser(true); > TrueTypeFont ttf =3D otfp.parse(new File("MyFont.otf")); > PDType0Font font =3D PDType0Font.load(doc, ttf, true); No, it won=E2=80=99t. Unfortunately we don=E2=80=99t support embedding = OTFs. One reason for this is that we don=E2=80=99t have an OTF = subsetter. =E2=80=94 John >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org > For additional commands, e-mail: users-help@pdfbox.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org