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/03/08 08:29:29 UTC

[Bug 60282] getFontHeightInPoints() has wrong type

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

Dominik Stadler <do...@gmx.at> changed:

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

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
As described the migration to different API would be a long and tedious
process. Also some of the underlying formats store the 1/20th as integer-value,
so they cannot represent the decimal value anyway.

Therefore I think we should stick with what we have right now as you can use
the InPoints() for the raw value and do computations yourself in
double-precision if necessary.

Updated comments and introduced a common constant Font.TWIPS_PER_POINT for the
"20" via r1874966.

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