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

Dominik Stadler <dominik.stad...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Dominik Stadler <dominik.stad...@gmx.at> ---
Good Catch!

This is likely one of the reasons why autosized columns often are larger than
what Excel or LibreOffice do when you auto-size columns. I was planning to
taking a look at why this is the case as it bugs me in some of my use-cases for
Apache POI as well.

Applied via r1910301

We now use the Math.round(), but maybe we should use the float-value directly
and not round to int at all as we later on handle text-width as double anyway.

But at least this way should be a bit better in some cases for now.

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