From dev-return-66628-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Sat Nov 30 10:00:50 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id CF3FE180638 for ; Sat, 30 Nov 2019 11:00:49 +0100 (CET) Received: (qmail 84414 invoked by uid 500); 30 Nov 2019 10:00:49 -0000 Mailing-List: contact dev-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list dev@pdfbox.apache.org Received: (qmail 84305 invoked by uid 99); 30 Nov 2019 10:00:48 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Nov 2019 10:00:48 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 65DF1E2D90 for ; Sat, 30 Nov 2019 10:00:48 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 63E377822D1 for ; Sat, 30 Nov 2019 09:54:00 +0000 (UTC) Date: Sat, 30 Nov 2019 09:54:00 +0000 (UTC) From: "ASF subversion and git services (Jira)" To: dev@pdfbox.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PDFBOX-4692) Document if and when PDFont.getFontDescriptor() may return null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PDFBOX-4692?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D169= 85309#comment-16985309 ]=20 ASF subversion and git services commented on PDFBOX-4692: --------------------------------------------------------- Commit 1870611 from Tilman Hausherr in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1870611 ] PDFBOX-4692: mention example in getHeight/getWeight javadoc > Document if and when PDFont.getFontDescriptor() may return null > --------------------------------------------------------------- > > Key: PDFBOX-4692 > URL: https://issues.apache.org/jira/browse/PDFBOX-4692 > Project: PDFBox > Issue Type: Improvement > Components: Documentation > Affects Versions: 2.0.17 > Environment: Windows 10.0.18362.418 > Reporter: Gili > Priority: Major > Attachments: image-2019-11-16-22-03-15-015.png > > > Please document under which conditions=C2=A0{{PDFont.getFontDescriptor()}= } may return null and what can be done to calculate the text ascent/descent= . Clearly, this should be possible to calculate as the text ends up getting= rendered. > Background information: > I have a PDF file (credit card statement, so it cannot be shared easily) = that contains an embedded {{PDType3Font}} called=C2=A0"C0EX06Q0". When I in= voke {{PDFont.getFontDescriptor()}} I get null.=20 > I have a screenshot of what it looks like. !image-2019-11-16-22-03-15-015= .png|thumbnail!=20 -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org For additional commands, e-mail: dev-help@pdfbox.apache.org