You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2020/07/16 10:07:16 UTC

[Bug 64605] XWPFRun font size support float

https://bz.apache.org/bugzilla/show_bug.cgi?id=64605

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
The number that is added the XML in the xlsx file is twice the value provided
in our APIs. This XML number has to be an integer, so the POI API should really
only accept whole numbers and numbers where the decimal part is .5.

Feel free the provide a patch but beware there is also a `getFontSize` -- we
can't change its return type, so you'll need to add a `getFontSizeAsFloat` as
an alternative method.

-- 
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