Further font size tweaks for autosizing test (macs are even odder...)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610496 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2008-01-09 18:38:44 +00:00
parent a4caea39b5
commit e9107b8aca

View File

@ -727,11 +727,12 @@ public class TestHSSFSheet
// Can't use literal numbers for column sizes, as // Can't use literal numbers for column sizes, as
// will come out with different values on different // will come out with different values on different
// machines based on the fonts available. // machines based on the fonts available.
// So, we use ranges // So, we use ranges, which are pretty large, but
int minWithRow1And2 = 7169; // thankfully don't overlap!
int maxWithRow1And2 = 7732; int minWithRow1And2 = 6400;
int maxWithRow1And2 = 7800;
int minWithRow1Only = 3024; int minWithRow1Only = 3024;
int maxWithRow1Only = 3292; int maxWithRow1Only = 3300;
// autoSize the first column and check its size before the merged region (1,0,1,1) is set: // autoSize the first column and check its size before the merged region (1,0,1,1) is set:
// it has to be based on the 2nd row width // it has to be based on the 2nd row width