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 2017/02/17 05:33:48 UTC

[Bug 60282] getFontHeightInPoints() has wrong type

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

--- Comment #1 from Javen O'Neal <on...@apache.org> ---
Unfortunately, changing the return type of this method would break backwards
compatibility.

If you need the accuracy of fractional points, perform this computation
yourself using getFontHeight.

We could add a warning in the JavaDoc that fractional values are discarded.
We could also make the 20 constant a public constant in Font.
Otherwise we could try to change the return type through some slow deprecation
process.

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