Update epsilon for FreeType 2.10 with eg. Unicode width 16 (#3931)

Update epsilon for FreeType 2.10 with eg. Unicode width 16
This commit is contained in:
Hugo 2019-07-01 18:32:38 +03:00 committed by GitHub
commit 9300ced1e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,8 @@ class TestImageFont(PillowTestCase):
# (and, other things, but first things first)
METRICS = {
(">=2.3", "<2.4"): {"multiline": 30, "textsize": 12, "getters": (13, 16)},
(">=2.7",): {"multiline": 6.2, "textsize": 2.5, "getters": (12, 16)},
(">=2.7", "<2.10"): {"multiline": 6.2, "textsize": 2.5, "getters": (12, 16)},
(">=2.10",): {"multiline": 14.8, "textsize": 2.5, "getters": (12, 16)},
"Default": {"multiline": 0.5, "textsize": 0.5, "getters": (12, 16)},
}