diff --git a/Tests/test_imagefontctl.py b/Tests/test_imagefontctl.py index f538bf71b..82e2b4ebc 100644 --- a/Tests/test_imagefontctl.py +++ b/Tests/test_imagefontctl.py @@ -118,7 +118,7 @@ def test_text_direction_ttb(): target = "Tests/images/test_direction_ttb.png" with Image.open(target) as target_img: - assert_image_similar(im, target_img, 1.15) + assert_image_similar(im, target_img, 2.8) def test_text_direction_ttb_stroke(): @@ -142,7 +142,7 @@ def test_text_direction_ttb_stroke(): target = "Tests/images/test_direction_ttb_stroke.png" with Image.open(target) as target_img: - assert_image_similar(im, target_img, 12.4) + assert_image_similar(im, target_img, 19.4) def test_ligature_features(): diff --git a/winbuild/build_prepare.py b/winbuild/build_prepare.py index 0239131eb..352c3f76b 100644 --- a/winbuild/build_prepare.py +++ b/winbuild/build_prepare.py @@ -184,9 +184,9 @@ deps = { "libs": [r"libpng16.lib"], }, "freetype": { - "url": "https://download.savannah.gnu.org/releases/freetype/freetype-2.10.2.tar.gz", # noqa: E501 - "filename": "freetype-2.10.2.tar.gz", - "dir": "freetype-2.10.2", + "url": "https://download.savannah.gnu.org/releases/freetype/freetype-2.10.3.tar.gz", # noqa: E501 + "filename": "freetype-2.10.3.tar.gz", + "dir": "freetype-2.10.3", "patch": { r"builds\windows\vc2010\freetype.vcxproj": { # freetype setting is /MD for .dll and /MT for .lib, we need /MD