Skip to content

Commit 59f9b3c

Browse files
authored
Merge pull request #27676 from QuLogic/freetype-winarm
BLD: Downgrade FreeType to 2.6.1 on Windows ARM
2 parents 1448ba8 + d7b16a4 commit 59f9b3c

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Windows on ARM64 support
2+
~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
Windows on ARM64 bundles FreeType 2.6.1 instead of 2.11.1 when building from source.
5+
This may cause small changes to text rendering, but should become consistent with all
6+
other platforms.

extern/meson.build

+1-8
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,7 @@ else
1414
# must match the value in `lib/matplotlib.__init__.py`. Also update the docs
1515
# in `docs/devel/dependencies.rst`. Bump the cache key in
1616
# `.circleci/config.yml` when changing requirements.
17-
TESTING_VERSION_OF_FREETYPE = '2.6.1'
18-
if host_machine.system() == 'windows' and host_machine.cpu_family() == 'aarch64'
19-
# Older versions of freetype are not supported for win/arm64
20-
# Matplotlib tests will not pass
21-
LOCAL_FREETYPE_VERSION = '2.11.1'
22-
else
23-
LOCAL_FREETYPE_VERSION = TESTING_VERSION_OF_FREETYPE
24-
endif
17+
LOCAL_FREETYPE_VERSION = '2.6.1'
2518

2619
freetype_proj = subproject(
2720
f'freetype-@LOCAL_FREETYPE_VERSION@',

subprojects/freetype-2.11.1.wrap

-7
This file was deleted.

0 commit comments

Comments
 (0)