Hello, I'm using Apache POI library to convert CSV to XLS. I create a sheet, fill it with values and then call autoSizeColumn() for each column of this sheet.
I've come across the following problem. On my Windows machine with Java version 1.6.0_24 everything works perfectly. The columns are resized just they way they should. But when I run the same script on Linux machine that has # java version "1.6.0_16" # Java(TM) SE Runtime Environment (build 1.6.0_16-b01) # Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode) the columns are resized but it looks like they are missing several chars of width. E.g., if the largest value, for example is "USER_NAME" it will be displayed as "USER_NAM". I was assuming that the problem lies in old JDK but now I think that this might rather be some fonts issue. Has anyone come across this kind of problem? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
