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 8669B11983 for ; Tue, 13 May 2014 09:27:39 +0000 (UTC) Received: (qmail 2769 invoked by uid 500); 10 May 2014 23:26:48 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 56040 invoked by uid 500); 10 May 2014 23:15:40 -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 11922 invoked by uid 99); 10 May 2014 22:57:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2014 22:57:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_IMAGE_ONLY_28,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.220.169] (HELO mail-vc0-f169.google.com) (209.85.220.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 May 2014 07:19:27 +0000 Received: by mail-vc0-f169.google.com with SMTP id ij19so4802651vcb.0 for ; Fri, 09 May 2014 00:19:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=GhLhkR9zp4JgldKtDOWIgES6Rs6spiRK/4UJAF6QKyY=; b=W+74/qj3MlPnunU02JeJXKfOZYWYrzECBVSpevaWp4jesRirreIMgps3JeuLrKE5D4 /da19ZuY2gEZqtUtcTRRemwLRSUONGbwKE0/BroosNiFsVzPZ43VLNn3npuPFI5f46Lm nmdQDwZnywVh25WrEmkanUhm+wO4xcErQFBy5CyDEEsuAUSr0XNqUdpsruV6nVRMyYHK j0xEDEbIdX63wCiD++RloO6lKnHzOJ3a1sVhYwCYR3INCQvGwEQjDac+j/fcKFm7620r wrrt4YfMUGy0Iw4RUQD67kxxHRfk6JCe2yQyvxCwIJ8jLr8u2+dbzp52AB1HhKDBm2it WqjA== X-Gm-Message-State: ALoCoQlkQiQGYkYH+RkzRQHpFmSnHiYKjJ7w+L7MLYyIltv02V2BxslLDt7HhQWusSYOE93YPNka MIME-Version: 1.0 X-Received: by 10.58.48.201 with SMTP id o9mr6964098ven.5.1399619946098; Fri, 09 May 2014 00:19:06 -0700 (PDT) Received: by 10.58.33.36 with HTTP; Fri, 9 May 2014 00:19:06 -0700 (PDT) Date: Fri, 9 May 2014 09:19:06 +0200 Message-ID: Subject: detect if font is embedded From: Cornelis Hoeflake To: users@pdfbox.apache.org Content-Type: multipart/related; boundary=089e0115ec66b569f104f8f26971 X-Virus-Checked: Checked by ClamAV on apache.org --089e0115ec66b569f104f8f26971 Content-Type: multipart/alternative; boundary=089e0115ec66b569ef04f8f26970 --089e0115ec66b569ef04f8f26970 Content-Type: text/plain; charset=UTF-8 Hi, Is there a way to list all fonts used in the PDF and whether they are embedded or not. I know the PDPage.getResources().getFonts(). But that is not enough for detecting if the font is embedded. Met vriendelijke groet, Cornelis Hoeflake *Postex | post opnieuw uitgevonden*[t] 088 07 07 400 [m] 06 18684806 [w] www.postex.com Postex Nederland B.V. - Postbus 70466 - 1007 KL Amsterdam The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. --089e0115ec66b569ef04f8f26970 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Is there a way to list all fonts us= ed in the PDF and whether they are embedded or not. I know the PDPage.getRe= sources().getFonts(). But that is not enough for detecting if the font is e= mbedded.

Met vriendelijke groet,

Corneli= s Hoeflake

=
Postex | =C2=A0post opni= euw uitgevonden
[t] =C2=A0088 07 07 400=C2= =A0
[m] 06 18684806
[w]=C2=A0ww= w.postex.com

Postex Nederland B.V= . - Postbus 70466 - 1007 KL =C2=A0Amsterdam

=C2=A0=


The information in this message is confidentia= l and may be legally privileged.
It is intended solely for the address= ee. Access to this message by anyone else is unauthorized.
If you = are not the intended recipient, any disclosure, copying, or distribution of= the message,
or any action or omission taken by you in reliance on it= , is prohibited and may be unlawful.
Please = immediately contact the sender if you have received this message in error.<= /font>
--089e0115ec66b569ef04f8f26970-- --089e0115ec66b569f104f8f26971--