veandco / go-sdl2

SDL2 binding for Go
https://godoc.org/github.com/veandco/go-sdl2
BSD 3-Clause "New" or "Revised" License
2.17k stars 219 forks source link

Updating SDL2 ttf to 2.20 #562

Open Lundis opened 1 year ago

Lundis commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Great thanks!

Lundis commented 1 year ago

@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 commented 1 year ago

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