Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Use a specific version of Freetype for testing #5306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Nov 5, 2015
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use freetype 2.6.1
  • Loading branch information
mdboom committed Nov 5, 2015
commit 420cd8e9c64d5f9ea7086b40081b81634b13c04e
2 changes: 1 addition & 1 deletion 2 lib/matplotlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ def _init_tests():

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

from matplotlib import ft2font
if (ft2font.__freetype_version__ != LOCAL_FREETYPE_VERSION or
Expand Down
9 changes: 4 additions & 5 deletions 9 setupext.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
# This is the version of FreeType to use when building a local
# version. It must match the value in
# lib/matplotlib.__init__.py
LOCAL_FREETYPE_VERSION = '2.5.2'
LOCAL_FREETYPE_VERSION = '2.6.1'
# md5 hash of the freetype tarball
LOCAL_FREETYPE_HASH = '004320381043d275c4e28bbacf05a1b7'
LOCAL_FREETYPE_HASH = '348e667d728c597360e4a87c16556597'

if sys.platform != 'win32':
if sys.version_info[0] < 3:
Expand Down Expand Up @@ -1003,9 +1003,8 @@ def do_custom_build(self):
subprocess.check_call(
['tar', 'zxf', tarball], cwd='build')
subprocess.check_call(
[cflags +
'./configure --without-zlib --without-bzip2 --without-png'],
shell=True, cwd=src_path)
[cflags + './configure --with-zlib=no --with-bzip2=no '
'--with-png=no --with-harfbuzz=no'], shell=True, cwd=src_path)
subprocess.check_call(
[cflags + 'make'], shell=True, cwd=src_path)

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.