From 166cc00843ae5af1aad46e7f90baf308b21db5b2 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 11 Oct 2020 21:35:21 +1100 Subject: [PATCH] Updated freetype to 2.10.3 --- Tests/test_imagefontctl.py | 4 ++-- winbuild/build_prepare.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tests/test_imagefontctl.py b/Tests/test_imagefontctl.py index 0012d6bd0..5a17559e7 100644 --- a/Tests/test_imagefontctl.py +++ b/Tests/test_imagefontctl.py @@ -114,7 +114,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(): @@ -138,7 +138,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 d66a78b07..bb6dcfd4e 100644 --- a/winbuild/build_prepare.py +++ b/winbuild/build_prepare.py @@ -170,9 +170,9 @@ deps = { "libs": [r"output\release-static\{architecture}\lib\*.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