From: Javen O'Neal Date: Thu, 13 Jul 2017 04:30:41 +0000 (+0000) Subject: add 362px font height for my computer's configuration (high-dpi monitor) X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f1cf95ecb5c104d3b4d5b4cf20135e3bdfa53877;p=poi.git add 362px font height for my computer's configuration (high-dpi monitor) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801803 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/testcases/org/apache/poi/sl/TestFonts.java b/src/ooxml/testcases/org/apache/poi/sl/TestFonts.java index f395a84a4b..6cf953d7a2 100644 --- a/src/ooxml/testcases/org/apache/poi/sl/TestFonts.java +++ b/src/ooxml/testcases/org/apache/poi/sl/TestFonts.java @@ -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 {