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

Added support for custom font atlas and text drawing implementations #385

Merged
merged 3 commits into from
Sep 30, 2024

Conversation

slouken
Copy link
Collaborator

@slouken slouken commented Sep 29, 2024

Included are two implementations for SDL_Surface and SDL_Renderer

@slouken slouken force-pushed the font-atlas branch 5 times, most recently from 868a123 to fd91dc4 Compare September 30, 2024 15:00
@icculus
Copy link
Collaborator

icculus commented Sep 30, 2024

Overall, I'm glad SDL_ttf is getting some love for SDL3.

Included are two implementations for SDL_Surface and SDL_Renderer
Also made the internal fields of TTF_Text private, and added a debug label instead of always copying the text used to create the TTF_Text.
@slouken slouken merged commit 25b596c into libsdl-org:main Sep 30, 2024
5 checks passed
@slouken slouken deleted the font-atlas branch September 30, 2024 16:43
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.

2 participants