https://bz.apache.org/bugzilla/show_bug.cgi?id=64605
Bug ID: 64605
Summary: XWPFRun font size support float
Product: POI
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: XWPF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
XWPFRun interface define:
public class XWPFRun implements ISDTContents, IRunElement, CharacterRun {
......
public void setFontSize(int size) {
}
}
my source code:
float fontSize = 10.5;
XWPFRun run = para.createRun();
run.setFontSize((int) fontSize);
i find other library support float, and poi truncate the float value to
int(10.5 to 10), the text seems ugly.
can fix the problem?
thanks.
--
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]