Skip to content

BLD: Downgrade FreeType to 2.6.1 on Windows ARM #27676

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 1 commit into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 6 additions & 0 deletions doc/api/next_api_changes/development/27676-ES.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Windows on ARM64 support
~~~~~~~~~~~~~~~~~~~~~~~~

Windows on ARM64 bundles FreeType 2.6.1 instead of 2.11.1 when building from source.
This may cause small changes to text rendering, but should become consistent with all
other platforms.
9 changes: 1 addition & 8 deletions extern/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,7 @@ else
# must match the value in `lib/matplotlib.__init__.py`. Also update the docs
# in `docs/devel/dependencies.rst`. Bump the cache key in
# `.circleci/config.yml` when changing requirements.
TESTING_VERSION_OF_FREETYPE = '2.6.1'
if host_machine.system() == 'windows' and host_machine.cpu_family() == 'aarch64'
# Older versions of freetype are not supported for win/arm64
# Matplotlib tests will not pass
LOCAL_FREETYPE_VERSION = '2.11.1'
else
LOCAL_FREETYPE_VERSION = TESTING_VERSION_OF_FREETYPE
endif
LOCAL_FREETYPE_VERSION = '2.6.1'

freetype_proj = subproject(
f'freetype-@LOCAL_FREETYPE_VERSION@',
Expand Down
7 changes: 0 additions & 7 deletions subprojects/freetype-2.11.1.wrap

This file was deleted.