]> source.dussan.org Git - poi.git/commitdiff
add 362px font height for my computer's configuration (high-dpi monitor)
authorJaven O'Neal <onealj@apache.org>
Thu, 13 Jul 2017 04:30:41 +0000 (04:30 +0000)
committerJaven O'Neal <onealj@apache.org>
Thu, 13 Jul 2017 04:30:41 +0000 (04:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801803 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/sl/TestFonts.java

index f395a84a4b051368a759ccd72941f79db20f196a..6cf953d7a2831fa2e3cdbacc6859c32d6dc6488f 100644 (file)
@@ -73,7 +73,9 @@ public class TestFonts {
     private static final String INIT_FONTS[] = { "mona.ttf" };
     
     // currently linux and mac return quite different values
-    private static final int[] expected_sizes = { 311, 312, 313, 398, 399 };
+    private static final int[] expected_sizes = { 311, 312, 313,
+            362, //Windows 10, 13.3" 1080p high-dpi
+            398, 399 };
     
     @BeforeClass
     public static void initGE() throws FontFormatException, IOException {