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: dev@poi.apache.org
          Reporter: 80101...@qq.com
  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: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to