8000 Use freetype 2.6.1 · matplotlib/matplotlib@420cd8e · GitHub
[go: up one dir, main page]

Skip to content

Commit 420cd8e

Browse files
committed
Use freetype 2.6.1
1 parent 13be4e7 commit 420cd8e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ def _init_tests():
15011501

15021502
# The version of FreeType to install locally for running the
15031503
# tests. This must match the value in `setupext.py`
1504-
LOCAL_FREETYPE_VERSION = '2.5.2'
1504+
LOCAL_FREETYPE_VERSION = '2.6.1'
15051505

15061506
from matplotlib import ft2font
15071507
if (ft2font.__freetype_version__ != LOCAL_FREETYPE_VERSION or

setupext.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
# This is the version of FreeType to use when building a local
2424
# version. It must match the value in
2525
# lib/matplotlib.__init__.py
26-
LOCAL_FREETYPE_VERSION = '2.5.2'
26+
LOCAL_FREETYPE_VERSION = '2.6.1'
2727
# md5 hash of the freetype tarball
28-
LOCAL_FREETYPE_HASH = '004320381043d275c4e28bbacf05a1b7'
28+
LOCAL_FREETYPE_HASH = '348e667d728c597360e4a87c16556597'
2929

3030
if sys.platform != 'win32':
3131
if sys.version_info[0] < 3:
@@ -1003,9 +1003,8 @@ def do_custom_build(self):
10031003
subprocess.check_call(
10041004
['tar', 'zxf', tarball], cwd='build')
10051005
subprocess.check_call(
1006-
[cflags +
1007-
'./configure --without-zlib --without-bzip2 --without-png'],
1008-
shell=True, cwd=src_path)
1006+
[cflags + './configure --with-zlib=no --with-bzip2=no '
1007+
'--with-png=no --with-harfbuzz=no'], shell=True, cwd=src_path)
10091008
subprocess.check_call(
10101009
[cflags + 'make'], shell=True, cwd=src_path)
10111010

0 commit comments

Comments
 (0)
0