Skip to content
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

Updating SDL2 ttf to 2.20 #562

Open
Lundis opened this issue Apr 8, 2023 · 6 comments
Open

Updating SDL2 ttf to 2.20 #562

Lundis opened this issue Apr 8, 2023 · 6 comments

Comments

@Lundis
Copy link
Contributor

Lundis commented Apr 8, 2023

Hey!

I switched over to static compilation for windows today, and since then I've had some strange font issues (newlines being handled incorrectly for wrapped text), which I believe might have been fixed in the 2.20.x ttf version I used dynamically previously. Could you update the static libs for TTF? From what I can see you currently use 2.18 according to the header files. Latest release: https://github.com/libsdl-org/SDL_ttf/releases/tag/release-2.20.2

@veeableful
Copy link
Contributor

Hi @Lundis! Currently the Linux machine I use to build them is not with me but I will update the libraries once I have it back. I will let you know once I have done the update here.

@Lundis
Copy link
Contributor Author

Lundis commented Apr 11, 2023

Great thanks!

@Lundis
Copy link
Contributor Author

Lundis commented Apr 25, 2023

@veeableful could you upgrade sdl_mixer from 2.0.4 to the latest 2.6.x at the same time? Then I could create a PR to add some new music functions that I need for my game.

@veeableful
Copy link
Contributor

Hi @Lundis, sure thing. I will update SDL2_mixer as well.

@n-i-x
Copy link

n-i-x commented Sep 1, 2024

Any update here? I have a need for some new functions that were introduced in 2.20.0:

SetFontWrappedAlign
GetFontWrappedAlign

@veeableful
Copy link
Contributor

I'm so sorry that it took so long. I have updated SDL2_ttf to support the functions introduced in 2.20.0 in master branch. Could you please try it out?

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

No branches or pull requests

3 participants