augment expected sizes in TestFonts

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802855 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tim Allison 2017-07-24 19:29:29 +00:00
parent cc0294d58b
commit 67719a8d4f

View File

@ -72,7 +72,10 @@ public class TestFonts {
private static final String INIT_FONTS[] = { "mona.ttf" }; private static final String INIT_FONTS[] = { "mona.ttf" };
// currently linux and mac return quite different values // currently linux and mac return quite different values
private static final int[] expected_sizes = { 311, 312, 313, 318, private static final int[] expected_sizes = {
306, //Windows 10, 15.6" 3840x2160
311, 312, 313, 318,
348, //Windows 10, 15.6" 3840x2160
362, // Windows 10, 13.3" 1080p high-dpi 362, // Windows 10, 13.3" 1080p high-dpi
398, 399, 398, 399,
406 // Ubuntu Trusty, 15", 1680x1050 406 // Ubuntu Trusty, 15", 1680x1050