mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Updated freetype to 2.10.3
This commit is contained in:
parent
804c76ff12
commit
166cc00843
|
@ -114,7 +114,7 @@ def test_text_direction_ttb():
|
||||||
|
|
||||||
target = "Tests/images/test_direction_ttb.png"
|
target = "Tests/images/test_direction_ttb.png"
|
||||||
with Image.open(target) as target_img:
|
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():
|
def test_text_direction_ttb_stroke():
|
||||||
|
@ -138,7 +138,7 @@ def test_text_direction_ttb_stroke():
|
||||||
|
|
||||||
target = "Tests/images/test_direction_ttb_stroke.png"
|
target = "Tests/images/test_direction_ttb_stroke.png"
|
||||||
with Image.open(target) as target_img:
|
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():
|
def test_ligature_features():
|
||||||
|
|
|
@ -170,9 +170,9 @@ deps = {
|
||||||
"libs": [r"output\release-static\{architecture}\lib\*.lib"],
|
"libs": [r"output\release-static\{architecture}\lib\*.lib"],
|
||||||
},
|
},
|
||||||
"freetype": {
|
"freetype": {
|
||||||
"url": "https://download.savannah.gnu.org/releases/freetype/freetype-2.10.2.tar.gz", # noqa: E501
|
"url": "https://download.savannah.gnu.org/releases/freetype/freetype-2.10.3.tar.gz", # noqa: E501
|
||||||
"filename": "freetype-2.10.2.tar.gz",
|
"filename": "freetype-2.10.3.tar.gz",
|
||||||
"dir": "freetype-2.10.2",
|
"dir": "freetype-2.10.3",
|
||||||
"patch": {
|
"patch": {
|
||||||
r"builds\windows\vc2010\freetype.vcxproj": {
|
r"builds\windows\vc2010\freetype.vcxproj": {
|
||||||
# freetype setting is /MD for .dll and /MT for .lib, we need /MD
|
# freetype setting is /MD for .dll and /MT for .lib, we need /MD
|
||||||
|
|
Loading…
Reference in New Issue
Block a user