Return-Path: Delivered-To: apmail-poi-dev-archive@www.apache.org Received: (qmail 63371 invoked from network); 4 May 2009 13:31:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 May 2009 13:31:12 -0000 Received: (qmail 22182 invoked by uid 500); 4 May 2009 13:31:11 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 22152 invoked by uid 500); 4 May 2009 13:31:11 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 22142 invoked by uid 99); 4 May 2009 13:31:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 13:31:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 13:31:09 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 1AA84234C046; Mon, 4 May 2009 06:30:47 -0700 (PDT) From: bugzilla@apache.org To: dev@poi.apache.org Subject: DO NOT REPLY [Bug 47148] New: XWPFRun.setFontFamily does not work with chars above 127. X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: XWPF X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luzifer@internet.lu X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Mon, 4 May 2009 06:30:47 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=3D47148 Summary: XWPFRun.setFontFamily does not work with chars above 127. Product: POI Version: 3.5-dev Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: XWPF AssignedTo: dev@poi.apache.org ReportedBy: luzifer@internet.lu XWPFDocument doc =3D new XWPFDocument(); XWPFParagraph paragraph =3D doc.createParagraph(); XWPFRun run =3D paragraph.createRun(); run.setText("abc =C3=A9=C3=A0=C3=A8=C3=B4 efg"); run.setFontSize(10); //NullPointerException if ommitted run.setFontFamily("Arial"); MyWorkaround: not only set the Ascii Font, but also set the HAnsi font. (CTFonts.setHAnsi) --=20 Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=3De= mail ------- You are receiving this mail because: ------- You are the assignee for the bug.= --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org