]> source.dussan.org Git - poi.git/commitdiff
Further font size tweaks for autosizing test (macs are even odder...)
authorNick Burch <nick@apache.org>
Wed, 9 Jan 2008 18:38:44 +0000 (18:38 +0000)
committerNick Burch <nick@apache.org>
Wed, 9 Jan 2008 18:38:44 +0000 (18:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610496 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java

index 413205fb7d36df8dc7443d171a6ad62bed7dd302..5f9ef53c89200d6849d91e2f97672d5b31b1f1bb 100644 (file)
@@ -727,11 +727,12 @@ public class TestHSSFSheet
                // 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