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 7808E10AED for ; Thu, 19 Feb 2015 18:47:56 +0000 (UTC) Received: (qmail 15490 invoked by uid 500); 19 Feb 2015 18:47:53 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 15468 invoked by uid 500); 19 Feb 2015 18:47:53 -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 15452 invoked by uid 99); 19 Feb 2015 18:47:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2015 18:47:52 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FORGED_YAHOO_RCVD,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lorenaleishman@yahoo.com designates 98.139.212.163 as permitted sender) Received: from [98.139.212.163] (HELO nm4.bullet.mail.bf1.yahoo.com) (98.139.212.163) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2015 18:47:45 +0000 Received: from [66.196.81.170] by nm4.bullet.mail.bf1.yahoo.com with NNFMP; 19 Feb 2015 18:46:20 -0000 Received: from [98.139.212.209] by tm16.bullet.mail.bf1.yahoo.com with NNFMP; 19 Feb 2015 18:46:20 -0000 Received: from [127.0.0.1] by omp1018.mail.bf1.yahoo.com with NNFMP; 19 Feb 2015 18:46:20 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 782382.52813.bm@omp1018.mail.bf1.yahoo.com X-YMail-OSG: 7yDhJtIVM1lcj_gzGKbcyZ0k2flNGY_Bnwi.EFVvn8KGXNpuy9iLLknAxlcsD5b OAhOqmC5QU4o7yA8qjny8_G_RBTs1Qpz50AeIybGMJUqj.Dw2LrcTOni40KMsHJJ161vFxYPWD9D dmoVlw6QWmEVZ5HHM9_3CVxOPKD2Szq0ANHEVc2OygAjlh0vhPW1oLY_0.FllLQB6LAgCOS5os.s B9pS1XfiuNv16DDWueOdB2rTQwgYYQ4olZ6c3cEiywTZkG701otbFKn_gTDe7kjDqPnPvFnC3v2N b3Dux6VOgKSn163wAsDX_vvV1o65zoUoiQlxVsuA2umiuI1icghp73Xuqu_BFilqEbr5Cp25NqLq npqdFPJYS4gYz15Hs9JuA7F4XeOBnXlDGoKtnrwUZU67reIghfvVg6d5wp6R2l6odfAlYIE64DNT Mc9.7aOpcRwfyWzpX6UoSTzgTwmsi5vV6w6nJNKZ8fdvo5mw1OchIvqrsvuQP.f.Y1ZM27GClx0u RI3X4IjZwJFoVnzE- Received: by 76.13.27.70; Thu, 19 Feb 2015 18:46:20 +0000 Date: Thu, 19 Feb 2015 18:46:19 +0000 (UTC) From: Lorena Leishman Reply-To: Lorena Leishman To: "users@pdfbox.apache.org" Message-ID: <1895500219.3135434.1424371579938.JavaMail.yahoo@mail.yahoo.com> Subject: PDAppearance.calculateFontSize, PDAppearance.setAppearanceValue MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3135432_1488836629.1424371579933" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3135432_1488836629.1424371579933 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello everyone, I am having some error messages when I am trying to set values to some fiel= ds in a PDF form. Many of the values are set fine but then I get these erro= r for some fields. =C2=A0java.lang.NullPointerExceptionpdmodel.interactive.form.PDAppearance.c= alculateFontSize pdmodel.interactive.form.PDAppearance.setAppearanceValue I noticed that the fields that get updated have font size =3D 12 and font t= ype Helvetica. If I manually go to the file and change the fields that are = not being updated to size =3D12, font type Helvetica then it works!! I can not have all the fields be the same size and font type. Is there a wa= y to get around this? and why do I have this problem in first place? Any help would be appreciated. Thanks!=C2=A0 ------=_Part_3135432_1488836629.1424371579933--