poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 51622] autoSizeColumn does not sizes text when we have leading space in the cell
Date Wed, 04 Nov 2015 03:34:39 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=51622

--- Comment #4 from Javen O'Neal <onealj@apache.org> ---
(In reply to Javen O'Neal from comment #3)
> java.awt.geom.Rectangle2D$Float[x=58.570312,y=-7.703125,w=118.79785,h=7.
> 890625]
Correction:
java.awt.geom.Rectangle2D$Float[x=28.570312,y=-7.703125,w=118.79785,h=7.890625]

The defaultCharWidth is 6.323242 on my system, so assuming a space character is
half the width of a "0" character in Arial, 9 leading spaces should have a
width of 28.4546. Math checks out.

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


Mime
View raw message