mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Merge pull request #4971 from radarhere/freetype
Updated freetype to 2.10.3
This commit is contained in:
commit
50787ad2c4
|
@ -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():
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user