Skip to content

require freetype version at least 2.8.0#579

Merged
sezero merged 1 commit into
libsdl-org:mainfrom
sezero:ft-min-ver
Aug 14, 2025
Merged

require freetype version at least 2.8.0#579
sezero merged 1 commit into
libsdl-org:mainfrom
sezero:ft-min-ver

Conversation

@sezero

@sezero sezero commented Aug 13, 2025

Copy link
Copy Markdown
Contributor

Current SDL3_ttf no longer builds against old freetype versions due
to uncontitional uses of FT_COLOR features available only in v2.5.1
and newer.

RedHat Enterprise Linux 8 (RHEL8) ships with version 2.9.1, whereas
Debian oldoldstable has 2.10.4. Therefore, setting our minimum vers
as 2.8 should satisfy everyone.

On the other hand, SDF still requires freetype >= 2.11.0 and, as it
seems, it is conditionalized in SDL3_ttf not resulting in any build
failures.

If accepted, I suggest cherry-picking it into release-3.2.x as well

@sezero sezero requested review from madebr and slouken August 13, 2025 22:31

@madebr madebr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it was already broken, I'm fine with enforcing a minimum compatibility version.

@sezero sezero merged commit be94566 into libsdl-org:main Aug 14, 2025
5 checks passed
@sezero sezero deleted the ft-min-ver branch August 14, 2025 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants