poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56377] Autosize columns with custom date format (yyyy-MM-dd HH:mm:ss GMT) gets wrong width
Date Thu, 12 Jun 2014 09:27:47 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56377

Nick Burch <apache@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #4 from Nick Burch <apache@gagravarr.org> ---
I notice that your problematic cell is using the Calibri font

Have you made sure that you have the Calibri font installed on your machine,
*AND* available to Java? 

POI uses the Java font code to work out how big each letter needs to be, when
calculating the sizing, and that requires the right fonts to be present to get
a precise value. Without the right font, Java picks a "nearby" one which
doesn't always size out the same. See the bottom of the warning at
http://poi.apache.org/spreadsheet/quick-guide.html#Autofit

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