libsdl-org/SDL_ttf

Fonts render differently with SDL3.

Closed this issue · 4 comments

The first screenshot is SDL2:

Screenshot 2024-07-12 at 3 51 47 PM

The second screenshot is SDL3:

Screenshot 2024-07-12 at 3 51 22 PM

Can you attach a test program and the fonts you're using?

I wrote a test program and it rendered perfect with SDL2 and SDL3. I review the game code and realized this is a SDL_Texture scaling difference between SDL2 and SDL3. We will need to rewrite some of that code to obtain our preferred font sizes.

If you're referring to the logical presentation mode differences, we're looking at making SDL3 work like SDL2 again. @icculus signed up for that work. :)

This should be fixed in the latest SDL3 code.