https://issues.apache.org/bugzilla/show_bug.cgi?id=47148
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: [email protected]
ReportedBy: [email protected]
XWPFDocument doc = new XWPFDocument();
XWPFParagraph paragraph = doc.createParagraph();
XWPFRun run = paragraph.createRun();
run.setText("abc éàèô 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)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]