From e9107b8acaa7ef391ff1ab659cace1278fd059ec Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Wed, 9 Jan 2008 18:38:44 +0000 Subject: [PATCH] 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 --- .../org/apache/poi/hssf/usermodel/TestHSSFSheet.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java index 413205fb7..5f9ef53c8 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java @@ -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