You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2008/01/09 19:39:08 UTC

svn commit: r610496 - /poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java

Author: nick
Date: Wed Jan  9 10:38:44 2008
New Revision: 610496

URL: http://svn.apache.org/viewvc?rev=610496&view=rev
Log:
Further font size tweaks for autosizing test (macs are even odder...)

Modified:
    poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java

Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java?rev=610496&r1=610495&r2=610496&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java Wed Jan  9 10:38:44 2008
@@ -727,11 +727,12 @@
 		// Can't use literal numbers for column sizes, as
 		//  will come out with different values on different
 		//  machines based on the fonts available.
-		// So, we use ranges
-		int minWithRow1And2 = 7169; 
-		int maxWithRow1And2 = 7732;
+		// So, we use ranges, which are pretty large, but
+		//  thankfully don't overlap!
+		int minWithRow1And2 = 6400; 
+		int maxWithRow1And2 = 7800;
 		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:
 		// it has to be based on the 2nd row width



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org